#6D51CF#6D51CF
#6D51CF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.186 H 288.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #6D51CF |
|---|---|
| RGB | rgb(109, 81, 207) |
| HSL | hsl(253, 57%, 56%) |
| HSV | hsv(253, 61%, 81%) |
| CMYK | cmyk(47.3%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(43.71, 42.51, -61.53) |
| CIE-LCH | lch(43.71, 74.79, 304.64°) |
| OKLab | oklab(53.27% 0.0596 -0.176) |
| OKLCH | oklch(53.27% 0.186 288.7) |
| XYZ | xyz(20.5084, 13.6402, 60.5716) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.61
Slate Blue
#6A5ACD
ΔE00 2.74
Iris
#6258C4
ΔE00 3.40
Dark Periwinkle
#665FD1
ΔE00 4.56
Bluey Purple
#6241C7
ΔE00 4.68
Bluish Purple
#703BE7
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D51CF #B3CF51
analogous
#5174CF #6D51CF #AC51CF
triadic
#6D51CF #CF6D51 #51CF6D
tetradic
#6D51CF #CF5174 #B3CF51 #51CFAC
square
#6D51CF #CF5174 #B3CF51 #51CFAC
split-complementary
#6D51CF #CFAC51 #74CF51
monochromatic
#392482 #4E31B2 #6D51CF #9581DC #BDB1E9
Accessibility & contrast
On white
5.63
#6D51CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#6D51CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D51CF
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D51CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D51CF | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#4D6E88
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6d51cf; /* rgb */ color: rgb(109, 81, 207); /* oklch */ color: oklch(53.3% 0.186 288.7);
Tailwind
colors: {
custom: {
50: '#9e83de',
500: '#6d51cf',
950: '#000000',
},
}SCSS
$custom: #6d51cf; $custom-light: #9e83de; $custom-dark: #000000;
JSON
{
"hex": "#6d51cf",
"rgb": {
"r": 109,
"g": 81,
"b": 207
},
"hsl": {
"h": 253.333,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.53271,
"c": 0.18578,
"h": 288.7
},
"luminance": 0.13641
}Semantic roles & 50–950 ramp
primary
#6D51CF
secondary
#CCD8A4
accent
#E048BE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83