#6B59B2#6B59B2
#6B59B2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.5% C 0.136 H 290.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6B59B2 |
|---|---|
| RGB | rgb(107, 89, 178) |
| HSL | hsl(252, 37%, 52%) |
| HSV | hsv(252, 50%, 70%) |
| CMYK | cmyk(39.9%, 50%, 0%, 30.2%) |
| CIE-LAB | lab(43.48, 28.97, -45.06) |
| CIE-LCH | lch(43.48, 53.57, 302.73°) |
| OKLab | oklab(52.45% 0.047 -0.1276) |
| OKLCH | oklch(52.45% 0.136 290.2) |
| XYZ | xyz(17.6695, 13.4844, 43.7826) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.74
Slate Blue
#6A5ACD
ΔE00 4.45
Royal Purple
#7851A9
ΔE00 4.66
Light Indigo
#6D5ACF
ΔE00 4.68
Dark Periwinkle
#665FD1
ΔE00 5.58
Deep Lavender
#8D5EB7
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B59B2 #A0B259
analogous
#5973B2 #6B59B2 #9859B2
triadic
#6B59B2 #B26B59 #59B26B
tetradic
#6B59B2 #B25973 #A0B259 #59B298
square
#6B59B2 #B25973 #A0B259 #59B298
split-complementary
#6B59B2 #B29859 #73B259
monochromatic
#392E63 #50418D #6B59B2 #9083C5 #B6ADD9
Accessibility & contrast
On white
5.68
#6B59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#6B59B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B59B2
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B59B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B59B2 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#586B7D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6b59b2; /* rgb */ color: rgb(107, 89, 178); /* oklch */ color: oklch(52.5% 0.136 290.2);
Tailwind
colors: {
custom: {
50: '#9988c9',
500: '#6b59b2',
950: '#000000',
},
}SCSS
$custom: #6b59b2; $custom-light: #9988c9; $custom-dark: #000000;
JSON
{
"hex": "#6b59b2",
"rgb": {
"r": 107,
"g": 89,
"b": 178
},
"hsl": {
"h": 252.135,
"s": 36.626,
"l": 52.353
},
"oklch": {
"l": 0.52454,
"c": 0.13598,
"h": 290.2
},
"luminance": 0.13485
}Semantic roles & 50–950 ramp
primary
#6B59B2
secondary
#BFC7A0
accent
#CD5BB6
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82