#6F45CF#6F45CF
#6F45CF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.7% C 0.201 H 291.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6F45CF |
|---|---|
| RGB | rgb(111, 69, 207) |
| HSL | hsl(258, 59%, 54%) |
| HSV | hsv(258, 67%, 81%) |
| CMYK | cmyk(46.4%, 66.7%, 0%, 18.8%) |
| CIE-LAB | lab(41.44, 49.54, -65.22) |
| CIE-LCH | lch(41.44, 81.90, 307.22°) |
| OKLab | oklab(51.67% 0.0747 -0.1867) |
| OKLCH | oklch(51.67% 0.201 291.8) |
| XYZ | xyz(19.9430, 12.1401, 60.3119) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.61
Bluish Purple
#703BE7
ΔE00 3.40
Burple
#6832E3
ΔE00 4.35
Purpleish Blue
#6140EF
ΔE00 4.46
Purpley Blue
#5F34E7
ΔE00 4.81
Blurple
#5539CC
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F45CF #A5CF45
analogous
#4560CF #6F45CF #B445CF
triadic
#6F45CF #CF6F45 #45CF6F
tetradic
#6F45CF #CF4560 #A5CF45 #45CFB4
square
#6F45CF #CF4560 #A5CF45 #45CFB4
split-complementary
#6F45CF #CFB445 #60CF45
monochromatic
#3B207A #532CAB #6F45CF #9576DC #BAA6E8
Accessibility & contrast
On white
6.13
#6F45CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#6F45CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F45CF
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F45CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F45CF | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#526784
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6f45cf; /* rgb */ color: rgb(111, 69, 207); /* oklch */ color: oklch(51.7% 0.201 291.8);
Tailwind
colors: {
custom: {
50: '#a07bdf',
500: '#6f45cf',
950: '#000000',
},
}SCSS
$custom: #6f45cf; $custom-light: #a07bdf; $custom-dark: #000000;
JSON
{
"hex": "#6f45cf",
"rgb": {
"r": 111,
"g": 69,
"b": 207
},
"hsl": {
"h": 258.261,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.51669,
"c": 0.20112,
"h": 291.8
},
"luminance": 0.12141
}Semantic roles & 50–950 ramp
primary
#6F45CF
secondary
#C3D59B
accent
#E246B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83