#6F47CB#6F47CB
#6F47CB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.194 H 292.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6F47CB |
|---|---|
| RGB | rgb(111, 71, 203) |
| HSL | hsl(258, 56%, 54%) |
| HSV | hsv(258, 65%, 80%) |
| CMYK | cmyk(45.3%, 65%, 0%, 20.4%) |
| CIE-LAB | lab(41.53, 47.36, -62.76) |
| CIE-LCH | lch(41.53, 78.63, 307.04°) |
| OKLab | oklab(51.64% 0.0732 -0.1795) |
| OKLCH | oklch(51.64% 0.194 292.2) |
| XYZ | xyz(19.5853, 12.1971, 57.8107) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.69
Bluish Purple
#703BE7
ΔE00 4.08
Burple
#6832E3
ΔE00 5.00
Purpleish Blue
#6140EF
ΔE00 5.03
Blue With A Hint Of Purple
#533CC6
ΔE00 5.20
Blurple
#5539CC
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F47CB #A3CB47
analogous
#4761CB #6F47CB #B147CB
triadic
#6F47CB #CB6F47 #47CB6F
tetradic
#6F47CB #CB4761 #A3CB47 #47CBB1
square
#6F47CB #CB4761 #A3CB47 #47CBB1
split-complementary
#6F47CB #CBB147 #61CB47
monochromatic
#3B2176 #532FA6 #6F47CB #9477D8 #BAA6E6
Accessibility & contrast
On white
6.11
#6F47CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#6F47CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F47CB
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F47CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F47CB | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#546783
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6f47cb; /* rgb */ color: rgb(111, 71, 203); /* oklch */ color: oklch(51.6% 0.194 292.2);
Tailwind
colors: {
custom: {
50: '#9f7ddc',
500: '#6f47cb',
950: '#000000',
},
}SCSS
$custom: #6f47cb; $custom-light: #9f7ddc; $custom-dark: #000000;
JSON
{
"hex": "#6f47cb",
"rgb": {
"r": 111,
"g": 71,
"b": 203
},
"hsl": {
"h": 258.182,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.51639,
"c": 0.19385,
"h": 292.2
},
"luminance": 0.12198
}Semantic roles & 50–950 ramp
primary
#6F47CB
secondary
#C2D39B
accent
#DF49B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83