#6339CF#6339CF

#6339CF is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.215 H 288.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6339CF
RGBrgb(99, 57, 207)
HSLhsl(257, 61%, 52%)
HSVhsv(257, 72%, 81%)
CMYKcmyk(52.2%, 72.5%, 0%, 18.8%)
CIE-LABlab(37.99, 53.71, -70.90)
CIE-LCHlch(37.99, 88.95, 307.14°)
OKLaboklab(48.93% 0.0686 -0.2038)
OKLCHoklch(48.93% 0.215 288.6)
XYZxyz(17.8679, 10.0831, 60.0241)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339CF #A5CF39
analogous
#395ACF #6339CF #AE39CF
triadic
#6339CF #CF6339 #39CF63
tetradic
#6339CF #CF395A #A5CF39 #39CFAE
square
#6339CF #CF395A #A5CF39 #39CFAE
split-complementary
#6339CF #CFAE39 #5ACF39
monochromatic
#341C72 #4A28A3 #6339CF #8A6ADB #B19CE7

Accessibility & contrast

On white

6.96
#6339CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6339CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339CF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339CF#FFFFFF#000000##FFFFFF
##6339CF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#3A6181
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6339cf;
/* rgb */ color: rgb(99, 57, 207);
/* oklch */ color: oklch(48.9% 0.215 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a73df',
    500: '#6339cf',
    950: '#000000',
  },
}
SCSS
$custom: #6339cf;
$custom-light: #9a73df;
$custom-dark: #000000;
JSON
{
  "hex": "#6339cf",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 256.8,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48925,
    "c": 0.21502,
    "h": 288.6
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#6339CF
secondary
#C0D391
accent
#E444B7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6339CF

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

Preview Lab → · Contrast checker → · Palette generator →

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