#6A38C3#6A38C3
#6A38C3 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.203 H 293.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6A38C3 |
|---|---|
| RGB | rgb(106, 56, 195) |
| HSL | hsl(262, 55%, 49%) |
| HSV | hsv(262, 71%, 76%) |
| CMYK | cmyk(45.6%, 71.3%, 0%, 23.5%) |
| CIE-LAB | lab(37.54, 52.07, -64.63) |
| CIE-LCH | lch(37.54, 83.00, 308.86°) |
| OKLab | oklab(48.47% 0.0821 -0.1851) |
| OKLCH | oklch(48.47% 0.203 293.9) |
| XYZ | xyz(17.2057, 9.8321, 52.6104) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.56
Blurple
#5539CC
ΔE00 3.48
Blue With A Hint Of Purple
#533CC6
ΔE00 3.76
Burple
#6832E3
ΔE00 4.13
Purple Blue
#5D21D0
ΔE00 4.56
Purpley Blue
#5F34E7
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A38C3 #91C338
analogous
#384CC3 #6A38C3 #B038C3
triadic
#6A38C3 #C36A38 #38C36A
tetradic
#6A38C3 #C3384C #91C338 #38C3B0
square
#6A38C3 #C3384C #91C338 #38C3B0
split-complementary
#6A38C3 #C3B038 #4CC338
monochromatic
#361D64 #502A93 #6A38C3 #8D65D3 #B095E1
Accessibility & contrast
On white
7.08
#6A38C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#6A38C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A38C3
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A38C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A38C3 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#505C7A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6a38c3; /* rgb */ color: rgb(106, 56, 195); /* oklch */ color: oklch(48.5% 0.203 293.9);
Tailwind
colors: {
custom: {
50: '#9c73d6',
500: '#6a38c3',
950: '#000000',
},
}SCSS
$custom: #6a38c3; $custom-light: #9c73d6; $custom-dark: #000000;
JSON
{
"hex": "#6a38c3",
"rgb": {
"r": 106,
"g": 56,
"b": 195
},
"hsl": {
"h": 261.583,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.48465,
"c": 0.20253,
"h": 293.9
},
"luminance": 0.09833
}Semantic roles & 50–950 ramp
primary
#6A38C3
secondary
#B4CC8B
accent
#DF49A9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83