#6C30AF#6C30AF
#6C30AF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.190 H 300.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6C30AF |
|---|---|
| RGB | rgb(108, 48, 175) |
| HSL | hsl(268, 57%, 44%) |
| HSV | hsv(268, 73%, 69%) |
| CMYK | cmyk(38.3%, 72.6%, 0%, 31.4%) |
| CIE-LAB | lab(34.80, 51.11, -57.29) |
| CIE-LCH | lch(34.80, 76.78, 311.74°) |
| OKLab | oklab(46.07% 0.0966 -0.1635) |
| OKLCH | oklch(46.07% 0.19 300.6) |
| XYZ | xyz(14.9773, 8.3971, 41.3809) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.55
Purple Blue
#5D21D0
ΔE00 5.56
Purple (survey)
#7E1E9C
ΔE00 5.71
Bluey Purple
#6241C7
ΔE00 5.74
Blurple
#5539CC
ΔE00 6.16
Blue With A Hint Of Purple
#533CC6
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C30AF #73AF30
analogous
#3034AF #6C30AF #AB30AF
triadic
#6C30AF #AF6C30 #30AF6C
tetradic
#6C30AF #AF3034 #73AF30 #30AFAB
square
#6C30AF #AF3034 #73AF30 #30AFAB
split-complementary
#6C30AF #AFAB30 #34AF30
monochromatic
#31164F #4E237F #6C30AF #8B4ECE #AA7EDC
Accessibility & contrast
On white
7.84
#6C30AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#6C30AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C30AF
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C30AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C30AF | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#5D4F6C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6c30af; /* rgb */ color: rgb(108, 48, 175); /* oklch */ color: oklch(46.1% 0.190 300.6);
Tailwind
colors: {
custom: {
50: '#9c6ec8',
500: '#6c30af',
950: '#000000',
},
}SCSS
$custom: #6c30af; $custom-light: #9c6ec8; $custom-dark: #000000;
JSON
{
"hex": "#6c30af",
"rgb": {
"r": 108,
"g": 48,
"b": 175
},
"hsl": {
"h": 268.346,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.46071,
"c": 0.18988,
"h": 300.6
},
"luminance": 0.08397
}Semantic roles & 50–950 ramp
primary
#6C30AF
secondary
#A0C476
accent
#E04898
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82