#6B38C3#6B38C3
#6B38C3 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.6% C 0.203 H 294.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6B38C3 |
|---|---|
| RGB | rgb(107, 56, 195) |
| HSL | hsl(262, 55%, 49%) |
| HSV | hsv(262, 71%, 76%) |
| CMYK | cmyk(45.1%, 71.3%, 0%, 23.5%) |
| CIE-LAB | lab(37.65, 52.24, -64.44) |
| CIE-LCH | lch(37.65, 82.96, 309.03°) |
| OKLab | oklab(48.57% 0.0836 -0.1845) |
| OKLCH | oklch(48.57% 0.203 294.4) |
| XYZ | xyz(17.3252, 9.8938, 52.6160) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.64
Blurple
#5539CC
ΔE00 3.64
Blue With A Hint Of Purple
#533CC6
ΔE00 3.93
Burple
#6832E3
ΔE00 4.15
Purple Blue
#5D21D0
ΔE00 4.64
Purpley Blue
#5F34E7
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B38C3 #90C338
analogous
#384BC3 #6B38C3 #B038C3
triadic
#6B38C3 #C36B38 #38C36B
tetradic
#6B38C3 #C3384B #90C338 #38C3B0
square
#6B38C3 #C3384B #90C338 #38C3B0
split-complementary
#6B38C3 #C3B038 #4BC338
monochromatic
#371D64 #512A93 #6B38C3 #8E65D3 #B195E1
Accessibility & contrast
On white
7.05
#6B38C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#6B38C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B38C3
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B38C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B38C3 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#525C7A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #6b38c3; /* rgb */ color: rgb(107, 56, 195); /* oklch */ color: oklch(48.6% 0.203 294.4);
Tailwind
colors: {
custom: {
50: '#9d73d6',
500: '#6b38c3',
950: '#000000',
},
}SCSS
$custom: #6b38c3; $custom-light: #9d73d6; $custom-dark: #000000;
JSON
{
"hex": "#6b38c3",
"rgb": {
"r": 107,
"g": 56,
"b": 195
},
"hsl": {
"h": 262.014,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.48569,
"c": 0.20259,
"h": 294.4
},
"luminance": 0.09894
}Semantic roles & 50–950 ramp
primary
#6B38C3
secondary
#B4CC8B
accent
#DF49A8
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83