#6F48CF#6F48CF
#6F48CF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.197 H 291.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #6F48CF |
|---|---|
| RGB | rgb(111, 72, 207) |
| HSL | hsl(257, 58%, 55%) |
| HSV | hsv(257, 65%, 81%) |
| CMYK | cmyk(46.4%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(42.03, 47.93, -64.26) |
| CIE-LCH | lch(42.03, 80.16, 306.72°) |
| OKLab | oklab(52.1% 0.0717 -0.1839) |
| OKLCH | oklch(52.1% 0.197 291.3) |
| XYZ | xyz(20.1322, 12.5185, 60.3749) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.00
Bluish Purple
#703BE7
ΔE00 3.77
Purpleish Blue
#6140EF
ΔE00 4.58
Burple
#6832E3
ΔE00 4.93
Light Indigo
#6D5ACF
ΔE00 4.99
Slate Blue
#6A5ACD
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F48CF #A8CF48
analogous
#4865CF #6F48CF #B248CF
triadic
#6F48CF #CF6F48 #48CF6F
tetradic
#6F48CF #CF4865 #A8CF48 #48CFB2
square
#6F48CF #CF4865 #A8CF48 #48CFB2
split-complementary
#6F48CF #CFB248 #65CF48
monochromatic
#3B217C #522DAD #6F48CF #9578DC #BBA9E8
Accessibility & contrast
On white
5.99
#6F48CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#6F48CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F48CF
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F48CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F48CF | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#516985
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6f48cf; /* rgb */ color: rgb(111, 72, 207); /* oklch */ color: oklch(52.1% 0.197 291.3);
Tailwind
colors: {
custom: {
50: '#a07ddf',
500: '#6f48cf',
950: '#000000',
},
}SCSS
$custom: #6f48cf; $custom-light: #a07ddf; $custom-dark: #000000;
JSON
{
"hex": "#6f48cf",
"rgb": {
"r": 111,
"g": 72,
"b": 207
},
"hsl": {
"h": 257.333,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.52095,
"c": 0.19739,
"h": 291.3
},
"luminance": 0.12519
}Semantic roles & 50–950 ramp
primary
#6F48CF
secondary
#C5D69D
accent
#E246B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83