#6339CD#6339CD

#6339CD is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.7% C 0.213 H 288.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#6339CD
RGBrgb(99, 57, 205)
HSLhsl(257, 60%, 51%)
HSVhsv(257, 72%, 80%)
CMYKcmyk(51.7%, 72.2%, 0%, 19.6%)
CIE-LABlab(37.82, 53.15, -70.03)
CIE-LCHlch(37.82, 87.92, 307.20°)
OKLaboklab(48.75% 0.0691 -0.2012)
OKLCHoklch(48.75% 0.213 288.9)
XYZxyz(17.6250, 9.9859, 58.7446)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339CD #A3CD39
analogous
#3959CD #6339CD #AD39CD
triadic
#6339CD #CD6339 #39CD63
tetradic
#6339CD #CD3959 #A3CD39 #39CDAD
square
#6339CD #CD3959 #A3CD39 #39CDAD
split-complementary
#6339CD #CDAD39 #59CD39
monochromatic
#341C6F #4A28A0 #6339CD #896AD9 #B09BE6

Accessibility & contrast

On white

7.01
#6339CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6339CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339CD
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339CD#FFFFFF#000000##FFFFFF
##6339CD1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6339cd;
/* rgb */ color: rgb(99, 57, 205);
/* oklch */ color: oklch(48.7% 0.213 288.9);
Tailwind
colors: {
  custom: {
    50: '#9973dd',
    500: '#6339cd',
    950: '#000000',
  },
}
SCSS
$custom: #6339cd;
$custom-light: #9973dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6339cd",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 257.027,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48749,
    "c": 0.21274,
    "h": 288.9
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

primary
#6339CD
secondary
#BFD290
accent
#E345B6
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6339CD

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

Preview Lab → · Contrast checker → · Palette generator →

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