#6F5FB3#6F5FB3
#6F5FB3 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.0% C 0.128 H 290.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #6F5FB3 |
|---|---|
| RGB | rgb(111, 95, 179) |
| HSL | hsl(251, 36%, 54%) |
| HSV | hsv(251, 47%, 70%) |
| CMYK | cmyk(38%, 46.9%, 0%, 29.8%) |
| CIE-LAB | lab(45.38, 26.65, -42.60) |
| CIE-LCH | lch(45.38, 50.24, 302.03°) |
| OKLab | oklab(53.99% 0.0442 -0.1203) |
| OKLCH | oklch(53.99% 0.128 290.2) |
| XYZ | xyz(18.7822, 14.8181, 44.5097) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 4.70
Slate Blue
#6A5ACD
ΔE00 4.89
Light Indigo
#6D5ACF
ΔE00 5.03
Dark Periwinkle
#665FD1
ΔE00 5.50
Royal Purple
#7851A9
ΔE00 5.57
Deep Lavender
#8D5EB7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F5FB3 #A3B35F
analogous
#5F79B3 #6F5FB3 #995FB3
triadic
#6F5FB3 #B36F5F #5FB36F
tetradic
#6F5FB3 #B35F79 #A3B35F #5FB399
square
#6F5FB3 #B35F79 #A3B35F #5FB399
split-complementary
#6F5FB3 #B3995F #79B35F
monochromatic
#3B3167 #534590 #6F5FB3 #9488C7 #BAB2DA
Accessibility & contrast
On white
5.30
#6F5FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#6F5FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F5FB3
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F5FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F5FB3 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416DB6
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#5D7080
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6f5fb3; /* rgb */ color: rgb(111, 95, 179); /* oklch */ color: oklch(54.0% 0.128 290.2);
Tailwind
colors: {
custom: {
50: '#9b8cca',
500: '#6f5fb3',
950: '#000000',
},
}SCSS
$custom: #6f5fb3; $custom-light: #9b8cca; $custom-dark: #000000;
JSON
{
"hex": "#6f5fb3",
"rgb": {
"r": 111,
"g": 95,
"b": 179
},
"hsl": {
"h": 251.429,
"s": 35.593,
"l": 53.725
},
"oklch": {
"l": 0.53987,
"c": 0.12813,
"h": 290.2
},
"luminance": 0.14819
}Semantic roles & 50–950 ramp
primary
#6F5FB3
secondary
#C2C9A5
accent
#CC5CB6
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82