#6D39B2#6D39B2
#6D39B2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.182 H 299.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #6D39B2 |
|---|---|
| RGB | rgb(109, 57, 178) |
| HSL | hsl(266, 51%, 46%) |
| HSV | hsv(266, 68%, 70%) |
| CMYK | cmyk(38.8%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(36.73, 47.67, -55.93) |
| CIE-LCH | lch(36.73, 73.49, 310.44°) |
| OKLab | oklab(47.55% 0.0883 -0.1595) |
| OKLCH | oklch(47.55% 0.182 299) |
| XYZ | xyz(15.8037, 9.3916, 43.0910) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.23
Bluey Purple
#6241C7
ΔE00 4.40
Blue With A Hint Of Purple
#533CC6
ΔE00 5.51
Blurple
#5539CC
ΔE00 5.60
Ocean Blue
#4F42B5
ΔE00 6.04
Purple Blue
#5D21D0
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D39B2 #7EB239
analogous
#3942B2 #6D39B2 #A939B2
triadic
#6D39B2 #B26D39 #39B26D
tetradic
#6D39B2 #B23942 #7EB239 #39B2A9
square
#6D39B2 #B23942 #7EB239 #39B2A9
split-complementary
#6D39B2 #B2A939 #42B239
monochromatic
#341B55 #512A84 #6D39B2 #8C5DCB #AD8BDA
Accessibility & contrast
On white
7.30
#6D39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#6D39B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D39B2
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D39B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D39B2 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#5D5571
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6d39b2; /* rgb */ color: rgb(109, 57, 178); /* oklch */ color: oklch(47.5% 0.182 299.0);
Tailwind
colors: {
custom: {
50: '#9c73ca',
500: '#6d39b2',
950: '#000000',
},
}SCSS
$custom: #6d39b2; $custom-light: #9c73ca; $custom-dark: #000000;
JSON
{
"hex": "#6d39b2",
"rgb": {
"r": 109,
"g": 57,
"b": 178
},
"hsl": {
"h": 265.785,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.47546,
"c": 0.18229,
"h": 299
},
"luminance": 0.09392
}Semantic roles & 50–950 ramp
primary
#6D39B2
secondary
#A8C482
accent
#DB4D9E
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82