#6F2698#6F2698
#6F2698 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.178 H 310.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2698 |
|---|---|
| RGB | rgb(111, 38, 152) |
| HSL | hsl(278, 60%, 37%) |
| HSV | hsv(278, 75%, 60%) |
| CMYK | cmyk(27%, 75%, 0%, 40.4%) |
| CIE-LAB | lab(31.88, 50.66, -48.13) |
| CIE-LCH | lch(31.88, 69.88, 316.47°) |
| OKLab | oklab(43.54% 0.115 -0.1364) |
| OKLCH | oklch(43.54% 0.178 310.2) |
| XYZ | xyz(12.9150, 7.0330, 30.3768) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.80
Rebeccapurple
#663399
ΔE00 3.07
Darkmagenta
#8B008B
ΔE00 6.89
Purple
#800080
ΔE00 6.94
Darkish Purple
#751973
ΔE00 7.80
Indigo
#4B0082
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2698 #4F9826
analogous
#362698 #6F2698 #982688
triadic
#6F2698 #986F26 #26986F
tetradic
#6F2698 #983626 #4F9826 #268898
square
#6F2698 #983626 #4F9826 #268898
split-complementary
#6F2698 #889826 #269836
monochromatic
#270E36 #4B1A67 #6F2698 #9332C9 #AD61D7
Accessibility & contrast
On white
8.73
#6F2698 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#6F2698 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2698
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2698 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#0B4C96
Tritanopia (blue-blind)
#69405D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6f2698; /* rgb */ color: rgb(111, 38, 152); /* oklch */ color: oklch(43.5% 0.178 310.2);
Tailwind
colors: {
custom: {
50: '#9d68b7',
500: '#6f2698',
950: '#000000',
},
}SCSS
$custom: #6f2698; $custom-light: #9d68b7; $custom-dark: #000000;
JSON
{
"hex": "#6f2698",
"rgb": {
"r": 111,
"g": 38,
"b": 152
},
"hsl": {
"h": 278.421,
"s": 60,
"l": 37.255
},
"oklch": {
"l": 0.4354,
"c": 0.1784,
"h": 310.2
},
"luminance": 0.07033
}Semantic roles & 50–950 ramp
primary
#6F2698
secondary
#7FBD5D
accent
#E3457E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80