#6F51DF#6F51DF
#6F51DF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.7% C 0.206 H 287.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6F51DF |
|---|---|
| RGB | rgb(111, 81, 223) |
| HSL | hsl(253, 69%, 60%) |
| HSV | hsv(253, 64%, 87%) |
| CMYK | cmyk(50.2%, 63.7%, 0%, 12.5%) |
| CIE-LAB | lab(45.07, 47.50, -68.48) |
| CIE-LCH | lch(45.07, 83.34, 304.75°) |
| OKLab | oklab(54.67% 0.061 -0.1963) |
| OKLCH | oklch(54.67% 0.206 287.2) |
| XYZ | xyz(22.8133, 14.5910, 71.4120) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.26
Slate Blue
#6A5ACD
ΔE00 3.58
Purpley
#8756E4
ΔE00 4.49
Purpleish Blue
#6140EF
ΔE00 4.52
Dark Periwinkle
#665FD1
ΔE00 4.78
Bluish Purple
#703BE7
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F51DF #C1DF51
analogous
#517ADF #6F51DF #B651DF
triadic
#6F51DF #DF6F51 #51DF6F
tetradic
#6F51DF #DF517A #C1DF51 #51DFB6
square
#6F51DF #DF517A #C1DF51 #51DFB6
split-complementary
#6F51DF #DFB651 #7ADF51
monochromatic
#371C99 #4926CD #6F51DF #9A85E9 #C5B8F2
Accessibility & contrast
On white
5.36
#6F51DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#6F51DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F51DF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F51DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F51DF | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#467491
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6f51df; /* rgb */ color: rgb(111, 81, 223); /* oklch */ color: oklch(54.7% 0.206 287.2);
Tailwind
colors: {
custom: {
50: '#a183ea',
500: '#6f51df',
950: '#000000',
},
}SCSS
$custom: #6f51df; $custom-light: #a183ea; $custom-dark: #000000;
JSON
{
"hex": "#6f51df",
"rgb": {
"r": 111,
"g": 81,
"b": 223
},
"hsl": {
"h": 252.676,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.54671,
"c": 0.20556,
"h": 287.2
},
"luminance": 0.14592
}Semantic roles & 50–950 ramp
primary
#6F51DF
secondary
#D6E1AA
accent
#EC3CC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84