Accessibility
Vs white / black
10.68:1 · 1.97:1
Sources
Codes
HEX
#681971
RGB
rgb(104, 25, 113)
RGBA
rgba(104, 25, 113, 1)
HSL
hsl(294, 64%, 27%)
HSLA
hsla(294, 64%, 27%, 1)
HSV
hsv(294, 78%, 44%)
LAB
lab(26.25% 46.1 -32.87)
LCH
lch(26.25% 56.62 324.51)
OKLAB
oklab(0.3844 0.1236 -0.0917)
OKLCH
oklch(0.3844 0.1539 323.43)
XYZ
xyz(9.04, 4.83, 16.08)
CMYK
cmyk(8%, 78%, 0%, 56%)
CSS
color: #681971;
CSS variable
--color-681971: #681971;
SCSS
$color-681971: #681971;
JavaScript
const color = "#681971";
TypeScript
const color: string = "#681971";
React
style={{ backgroundColor: "#681971" }}
JSON
{ "hex": "#681971", "rgb": { "r": 104, "g": 25, "b": 113 }, "oklch": "oklch(0.3844 0.1539 323.43)" }
Export
:root {
--#681971-1: #681971;
}Design systems
An arbitrary HEX is not an official Tailwind, Material, or Bootstrap color. Distance is CIEDE2000.
Nearest Tailwind color
fuchsia-900
Similar · ΔE 1.6 · #701A75
Nearest CSS named color
Purple
Noticeably different · ΔE 4.65 · #800080
Nearest Material color
purple-800
Very different · ΔE 7.52 · #6A1B9A
Nearest Bootstrap color
dark
Very different · ΔE 20.71 · #212529
OKLCH
Generated in OKLCH from this hex. Not an official Tailwind scale unless the hex itself is a Tailwind token.
Palette
Full scale from light tints through the base color into deep shades
Palette
Mixed toward white — soft backgrounds and highlights
Palette
Mixed toward black — depth, text, and emphasis
Palette
Mixed toward neutral grey — muted UI surfaces
Harmony
Opposite on the color wheel for contrast
Harmony
Neighbors that sit comfortably together
Harmony
Evenly spaced triad for vibrant sets
Harmony
Base plus two accents beside the complement
Harmony
Same hue, varied lightness and saturation
Using this color
#681971 (#681971) sits in the purple family at about 294° hue, 64% saturation, and 27% lightness. Contrast is 10.68:1 on white and 1.97:1 on black, so white labels read more clearly on the swatch itself. Nearest Tailwind token: fuchsia-900 (approximation unless the hex is an official scale stop).
Sensible jobs for this swatch
On a black or near-black UI, #681971 is 1.97:1. Prefer it as a fill, border, or large heading rather than 16px copy.
Family context: Imagination, luxury, and wisdom. Frequently used for premium, creative, and tech brands. Common uses still include buttons, charts, and accents in the Purple range — always verify the pair for this exact hex in the contrast checker.
Related
Nearby colors from the library by perceptual distance