#6F45C4#6F45C4
#6F45C4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.188 H 293.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #6F45C4 |
|---|---|
| RGB | rgb(111, 69, 196) |
| HSL | hsl(260, 52%, 52%) |
| HSV | hsv(260, 65%, 77%) |
| CMYK | cmyk(43.4%, 64.8%, 0%, 23.1%) |
| CIE-LAB | lab(40.61, 46.52, -60.20) |
| CIE-LCH | lch(40.61, 76.08, 307.70°) |
| OKLab | oklab(50.81% 0.076 -0.172) |
| OKLCH | oklch(50.81% 0.188 293.9) |
| XYZ | xyz(18.6448, 11.6208, 53.4745) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.49
Bluish Purple
#703BE7
ΔE00 4.80
Blue With A Hint Of Purple
#533CC6
ΔE00 4.99
Blurple
#5539CC
ΔE00 5.07
Burple
#6832E3
ΔE00 5.30
Ocean Blue
#4F42B5
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F45C4 #9AC445
analogous
#455AC4 #6F45C4 #AF45C4
triadic
#6F45C4 #C46F45 #45C46F
tetradic
#6F45C4 #C4455A #9AC445 #45C4AF
square
#6F45C4 #C4455A #9AC445 #45C4AF
split-complementary
#6F45C4 #C4AF45 #5AC445
monochromatic
#3B226C #54319B #6F45C4 #9373D3 #B7A2E1
Accessibility & contrast
On white
6.32
#6F45C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#6F45C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F45C4
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F45C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F45C4 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#57637E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #6f45c4; /* rgb */ color: rgb(111, 69, 196); /* oklch */ color: oklch(50.8% 0.188 293.9);
Tailwind
colors: {
custom: {
50: '#9f7bd7',
500: '#6f45c4',
950: '#000000',
},
}SCSS
$custom: #6f45c4; $custom-light: #9f7bd7; $custom-dark: #000000;
JSON
{
"hex": "#6f45c4",
"rgb": {
"r": 111,
"g": 69,
"b": 196
},
"hsl": {
"h": 259.843,
"s": 51.837,
"l": 51.961
},
"oklch": {
"l": 0.5081,
"c": 0.18803,
"h": 293.9
},
"luminance": 0.11621
}Semantic roles & 50–950 ramp
primary
#6F45C4
secondary
#BCCE97
accent
#DB4DAC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83