#684DAF#684DAF
#684DAF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.9% C 0.150 H 292.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #684DAF |
|---|---|
| RGB | rgb(104, 77, 175) |
| HSL | hsl(257, 39%, 49%) |
| HSV | hsv(257, 56%, 69%) |
| CMYK | cmyk(40.6%, 56%, 0%, 31.4%) |
| CIE-LAB | lab(40.16, 34.59, -48.64) |
| CIE-LCH | lch(40.16, 59.69, 305.42°) |
| OKLab | oklab(49.85% 0.0582 -0.1382) |
| OKLCH | oklch(49.85% 0.15 292.8) |
| XYZ | xyz(16.0986, 11.3455, 41.8908) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.09
Bluey Purple
#6241C7
ΔE00 5.06
Iris
#6258C4
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.43
Slate Blue
#6A5ACD
ΔE00 6.06
Light Indigo
#6D5ACF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684DAF #94AF4D
analogous
#4D63AF #684DAF #994DAF
triadic
#684DAF #AF684D #4DAF68
tetradic
#684DAF #AF4D63 #94AF4D #4DAF99
square
#684DAF #AF4D63 #94AF4D #4DAF99
split-complementary
#684DAF #AF994D #63AF4D
monochromatic
#35285A #4F3A85 #684DAF #8B76C3 #AFA1D6
Accessibility & contrast
On white
6.42
#684DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#684DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684DAF
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684DAF | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#556276
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #684daf; /* rgb */ color: rgb(104, 77, 175); /* oklch */ color: oklch(49.9% 0.150 292.8);
Tailwind
colors: {
custom: {
50: '#9780c7',
500: '#684daf',
950: '#000000',
},
}SCSS
$custom: #684daf; $custom-light: #9780c7; $custom-dark: #000000;
JSON
{
"hex": "#684daf",
"rgb": {
"r": 104,
"g": 77,
"b": 175
},
"hsl": {
"h": 256.531,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.49851,
"c": 0.14999,
"h": 292.8
},
"luminance": 0.11346
}Semantic roles & 50–950 ramp
primary
#684DAF
secondary
#B6C395
accent
#CF59AE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82