#6F45CB#6F45CB
#6F45CB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.196 H 292.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #6F45CB |
|---|---|
| RGB | rgb(111, 69, 203) |
| HSL | hsl(259, 56%, 53%) |
| HSV | hsv(259, 66%, 80%) |
| CMYK | cmyk(45.3%, 66%, 0%, 20.4%) |
| CIE-LAB | lab(41.13, 48.44, -63.41) |
| CIE-LCH | lch(41.13, 79.79, 307.38°) |
| OKLab | oklab(51.35% 0.0752 -0.1814) |
| OKLCH | oklch(51.35% 0.196 292.5) |
| XYZ | xyz(19.4602, 11.9469, 57.7690) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.44
Bluish Purple
#703BE7
ΔE00 3.88
Burple
#6832E3
ΔE00 4.64
Blurple
#5539CC
ΔE00 4.91
Blue With A Hint Of Purple
#533CC6
ΔE00 4.96
Purpleish Blue
#6140EF
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F45CB #A1CB45
analogous
#455ECB #6F45CB #B245CB
triadic
#6F45CB #CB6F45 #45CB6F
tetradic
#6F45CB #CB455E #A1CB45 #45CBB2
square
#6F45CB #CB455E #A1CB45 #45CBB2
split-complementary
#6F45CB #CBB245 #5ECB45
monochromatic
#3B2175 #532EA5 #6F45CB #9475D8 #B9A5E6
Accessibility & contrast
On white
6.20
#6F45CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#6F45CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F45CB
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F45CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F45CB | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#546582
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6f45cb; /* rgb */ color: rgb(111, 69, 203); /* oklch */ color: oklch(51.4% 0.196 292.5);
Tailwind
colors: {
custom: {
50: '#9f7bdc',
500: '#6f45cb',
950: '#000000',
},
}SCSS
$custom: #6f45cb; $custom-light: #9f7bdc; $custom-dark: #000000;
JSON
{
"hex": "#6f45cb",
"rgb": {
"r": 111,
"g": 69,
"b": 203
},
"hsl": {
"h": 258.806,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.51353,
"c": 0.19638,
"h": 292.5
},
"luminance": 0.11948
}Semantic roles & 50–950 ramp
primary
#6F45CB
secondary
#C1D399
accent
#E048B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83