#6F45CC#6F45CC
#6F45CC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.198 H 292.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6F45CC |
|---|---|
| RGB | rgb(111, 69, 204) |
| HSL | hsl(259, 57%, 54%) |
| HSV | hsv(259, 66%, 80%) |
| CMYK | cmyk(45.6%, 66.2%, 0%, 20%) |
| CIE-LAB | lab(41.21, 48.71, -63.86) |
| CIE-LCH | lch(41.21, 80.32, 307.34°) |
| OKLab | oklab(51.43% 0.0751 -0.1827) |
| OKLCH | oklch(51.43% 0.198 292.3) |
| XYZ | xyz(19.5797, 11.9947, 58.3986) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.47
Bluish Purple
#703BE7
ΔE00 3.76
Burple
#6832E3
ΔE00 4.56
Purpleish Blue
#6140EF
ΔE00 4.84
Blurple
#5539CC
ΔE00 4.90
Blue With A Hint Of Purple
#533CC6
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F45CC #A2CC45
analogous
#455ECC #6F45CC #B345CC
triadic
#6F45CC #CC6F45 #45CC6F
tetradic
#6F45CC #CC455E #A2CC45 #45CCB3
square
#6F45CC #CC455E #A2CC45 #45CCB3
split-complementary
#6F45CC #CCB345 #5ECC45
monochromatic
#3B2076 #532EA6 #6F45CC #9475D9 #B9A5E6
Accessibility & contrast
On white
6.18
#6F45CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#6F45CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F45CC
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F45CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F45CC | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#536683
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6f45cc; /* rgb */ color: rgb(111, 69, 204); /* oklch */ color: oklch(51.4% 0.198 292.3);
Tailwind
colors: {
custom: {
50: '#a07bdc',
500: '#6f45cc',
950: '#000000',
},
}SCSS
$custom: #6f45cc; $custom-light: #a07bdc; $custom-dark: #000000;
JSON
{
"hex": "#6f45cc",
"rgb": {
"r": 111,
"g": 69,
"b": 204
},
"hsl": {
"h": 258.667,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.51432,
"c": 0.19757,
"h": 292.3
},
"luminance": 0.11995
}Semantic roles & 50–950 ramp
primary
#6F45CC
secondary
#C1D399
accent
#E048B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83