#6339CE#6339CE

#6339CE is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.214 H 288.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6339CE
RGBrgb(99, 57, 206)
HSLhsl(257, 60%, 52%)
HSVhsv(257, 72%, 81%)
CMYKcmyk(51.9%, 72.3%, 0%, 19.2%)
CIE-LABlab(37.90, 53.43, -70.47)
CIE-LCHlch(37.90, 88.43, 307.17°)
OKLaboklab(48.84% 0.0689 -0.2025)
OKLCHoklch(48.84% 0.214 288.8)
XYZxyz(17.7460, 10.0343, 59.3823)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339CE #A4CE39
analogous
#395ACE #6339CE #AE39CE
triadic
#6339CE #CE6339 #39CE63
tetradic
#6339CE #CE395A #A4CE39 #39CEAE
square
#6339CE #CE395A #A4CE39 #39CEAE
split-complementary
#6339CE #CEAE39 #5ACE39
monochromatic
#341C71 #4A28A2 #6339CE #8A6ADA #B09BE6

Accessibility & contrast

On white

6.98
#6339CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6339CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339CE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339CE#FFFFFF#000000##FFFFFF
##6339CE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#3B6180
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6339ce;
/* rgb */ color: rgb(99, 57, 206);
/* oklch */ color: oklch(48.8% 0.214 288.8);
Tailwind
colors: {
  custom: {
    50: '#9a73de',
    500: '#6339ce',
    950: '#000000',
  },
}
SCSS
$custom: #6339ce;
$custom-light: #9a73de;
$custom-dark: #000000;
JSON
{
  "hex": "#6339ce",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 256.913,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48837,
    "c": 0.21388,
    "h": 288.8
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#6339CE
secondary
#C0D291
accent
#E344B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6339CE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6339CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva