#6C2FAF#6C2FAF
#6C2FAF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.191 H 300.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2FAF |
|---|---|
| RGB | rgb(108, 47, 175) |
| HSL | hsl(269, 58%, 44%) |
| HSV | hsv(269, 73%, 69%) |
| CMYK | cmyk(38.3%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(34.63, 51.58, -57.56) |
| CIE-LCH | lch(34.63, 77.28, 311.86°) |
| OKLab | oklab(45.96% 0.0976 -0.1642) |
| OKLCH | oklch(45.96% 0.191 300.7) |
| XYZ | xyz(14.9368, 8.3162, 41.3674) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.58
Purple Blue
#5D21D0
ΔE00 5.49
Purple (survey)
#7E1E9C
ΔE00 5.63
Bluey Purple
#6241C7
ΔE00 5.86
Blurple
#5539CC
ΔE00 6.22
Blue With A Hint Of Purple
#533CC6
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2FAF #72AF2F
analogous
#2F32AF #6C2FAF #AC2FAF
triadic
#6C2FAF #AF6C2F #2FAF6C
tetradic
#6C2FAF #AF2F32 #72AF2F #2FAFAC
square
#6C2FAF #AF2F32 #72AF2F #2FAFAC
split-complementary
#6C2FAF #AFAC2F #32AF2F
monochromatic
#30154F #4E227F #6C2FAF #8B4CCF #AA7CDC
Accessibility & contrast
On white
7.89
#6C2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#6C2FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2FAF
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2FAF | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#5D4F6C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6c2faf; /* rgb */ color: rgb(108, 47, 175); /* oklch */ color: oklch(46.0% 0.191 300.7);
Tailwind
colors: {
custom: {
50: '#9c6dc8',
500: '#6c2faf',
950: '#000000',
},
}SCSS
$custom: #6c2faf; $custom-light: #9c6dc8; $custom-dark: #000000;
JSON
{
"hex": "#6c2faf",
"rgb": {
"r": 108,
"g": 47,
"b": 175
},
"hsl": {
"h": 268.594,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.45955,
"c": 0.19104,
"h": 300.7
},
"luminance": 0.08316
}Semantic roles & 50–950 ramp
primary
#6C2FAF
secondary
#9FC475
accent
#E14798
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82