#684CB1#684CB1
#684CB1 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.8% C 0.154 H 292.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #684CB1 |
|---|---|
| RGB | rgb(104, 76, 177) |
| HSL | hsl(257, 40%, 50%) |
| HSV | hsv(257, 57%, 69%) |
| CMYK | cmyk(41.2%, 57.1%, 0%, 30.6%) |
| CIE-LAB | lab(40.06, 35.75, -49.98) |
| CIE-LCH | lch(40.06, 61.45, 305.57°) |
| OKLab | oklab(49.82% 0.0595 -0.1422) |
| OKLCH | oklch(49.82% 0.154 292.7) |
| XYZ | xyz(16.2270, 11.2858, 42.9099) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.33
Bluey Purple
#6241C7
ΔE00 4.60
Iris
#6258C4
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 6.00
Light Indigo
#6D5ACF
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684CB1 #95B14C
analogous
#4C62B1 #684CB1 #9B4CB1
triadic
#684CB1 #B1684C #4CB168
tetradic
#684CB1 #B14C62 #95B14C #4CB19B
square
#684CB1 #B14C62 #95B14C #4CB19B
split-complementary
#684CB1 #B19B4C #62B14C
monochromatic
#36275B #4F3A86 #684CB1 #8C76C4 #B0A1D7
Accessibility & contrast
On white
6.45
#684CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#684CB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684CB1
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684CB1 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1460B4
Deuteranopia (green-blind)
#1E5CAF
Tritanopia (blue-blind)
#546277
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #684cb1; /* rgb */ color: rgb(104, 76, 177); /* oklch */ color: oklch(49.8% 0.154 292.7);
Tailwind
colors: {
custom: {
50: '#987fc9',
500: '#684cb1',
950: '#000000',
},
}SCSS
$custom: #684cb1; $custom-light: #987fc9; $custom-dark: #000000;
JSON
{
"hex": "#684cb1",
"rgb": {
"r": 104,
"g": 76,
"b": 177
},
"hsl": {
"h": 256.634,
"s": 39.921,
"l": 49.608
},
"oklch": {
"l": 0.4982,
"c": 0.15411,
"h": 292.7
},
"luminance": 0.11286
}Semantic roles & 50–950 ramp
primary
#684CB1
secondary
#B7C395
accent
#D058AF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82