#6339F2#6339F2
#6339F2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.254 H 283.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6339F2 |
|---|---|
| RGB | rgb(99, 57, 242) |
| HSL | hsl(254, 88%, 59%) |
| HSV | hsv(254, 76%, 95%) |
| CMYK | cmyk(59.1%, 76.4%, 0%, 5.1%) |
| CIE-LAB | lab(41.20, 63.36, -85.62) |
| CIE-LCH | lch(41.20, 106.51, 306.50°) |
| OKLab | oklab(52.15% 0.0599 -0.2468) |
| OKLCH | oklch(52.15% 0.254 283.6) |
| XYZ | xyz(22.6308, 11.9882, 85.1086) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.32
Purpley Blue
#5F34E7
ΔE00 2.03
Bluish Purple
#703BE7
ΔE00 2.05
Burple
#6832E3
ΔE00 2.51
Purplish Blue
#601EF9
ΔE00 3.65
Light Royal Blue
#3A2EFE
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6339F2 #C8F239
analogous
#396BF2 #6339F2 #C039F2
triadic
#6339F2 #F26339 #39F263
tetradic
#6339F2 #F2396B #C8F239 #39F2C0
square
#6339F2 #F2396B #C8F239 #39F2C0
split-complementary
#6339F2 #F2C039 #6BF239
monochromatic
#2E0BA6 #3E0FDF #6339F2 #9072F6 #BDACFA
Accessibility & contrast
On white
6.18
#6339F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#6339F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6339F2
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6339F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6339F2 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067F7
Deuteranopia (green-blind)
#005BEF
Tritanopia (blue-blind)
#006F95
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6339f2; /* rgb */ color: rgb(99, 57, 242); /* oklch */ color: oklch(52.1% 0.254 283.6);
Tailwind
colors: {
custom: {
50: '#9f75f8',
500: '#6339f2',
950: '#000000',
},
}SCSS
$custom: #6339f2; $custom-light: #9f75f8; $custom-dark: #000000;
JSON
{
"hex": "#6339f2",
"rgb": {
"r": 99,
"g": 57,
"b": 242
},
"hsl": {
"h": 253.622,
"s": 87.678,
"l": 58.627
},
"oklch": {
"l": 0.52148,
"c": 0.25397,
"h": 283.6
},
"luminance": 0.1199
}Semantic roles & 50–950 ramp
primary
#6339F2
secondary
#D7E89F
accent
#FE2ACE
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85