#6E30B2#6E30B2
#6E30B2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.193 H 300.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6E30B2 |
|---|---|
| RGB | rgb(110, 48, 178) |
| HSL | hsl(269, 58%, 44%) |
| HSV | hsv(269, 73%, 70%) |
| CMYK | cmyk(38.2%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(35.29, 52.23, -58.26) |
| CIE-LCH | lch(35.29, 78.25, 311.87°) |
| OKLab | oklab(46.55% 0.0989 -0.1662) |
| OKLCH | oklch(46.55% 0.193 300.7) |
| XYZ | xyz(15.5213, 8.6431, 42.9614) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.00
Purple Blue
#5D21D0
ΔE00 5.39
Bluey Purple
#6241C7
ΔE00 5.53
Purple (survey)
#7E1E9C
ΔE00 5.79
Blurple
#5539CC
ΔE00 6.03
Blue With A Hint Of Purple
#533CC6
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E30B2 #74B230
analogous
#3033B2 #6E30B2 #AF30B2
triadic
#6E30B2 #B26E30 #30B26E
tetradic
#6E30B2 #B23033 #74B230 #30B2AF
square
#6E30B2 #B23033 #74B230 #30B2AF
split-complementary
#6E30B2 #B2AF30 #33B230
monochromatic
#321652 #502382 #6E30B2 #8D50D0 #AC80DD
Accessibility & contrast
On white
7.70
#6E30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#6E30B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E30B2
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E30B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E30B2 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#5F506E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #6e30b2; /* rgb */ color: rgb(110, 48, 178); /* oklch */ color: oklch(46.5% 0.193 300.7);
Tailwind
colors: {
custom: {
50: '#9d6eca',
500: '#6e30b2',
950: '#000000',
},
}SCSS
$custom: #6e30b2; $custom-light: #9d6eca; $custom-dark: #000000;
JSON
{
"hex": "#6e30b2",
"rgb": {
"r": 110,
"g": 48,
"b": 178
},
"hsl": {
"h": 268.615,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.46548,
"c": 0.19343,
"h": 300.7
},
"luminance": 0.08643
}Semantic roles & 50–950 ramp
primary
#6E30B2
secondary
#A1C678
accent
#E14797
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82