#6339D9#6339D9

#6339D9 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.226 H 287.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6339D9
RGBrgb(99, 57, 217)
HSLhsl(256, 68%, 54%)
HSVhsv(256, 74%, 85%)
CMYKcmyk(54.4%, 73.7%, 0%, 14.9%)
CIE-LABlab(38.88, 56.48, -75.21)
CIE-LCHlch(38.88, 94.06, 306.90°)
OKLaboklab(49.82% 0.0663 -0.2164)
OKLCHoklch(49.82% 0.226 287)
XYZxyz(19.1294, 10.5876, 66.6678)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339D9 #AFD939
analogous
#395FD9 #6339D9 #B339D9
triadic
#6339D9 #D96339 #39D963
tetradic
#6339D9 #D9395F #AFD939 #39D9B3
square
#6339D9 #D9395F #AFD939 #39D9B3
split-complementary
#6339D9 #D9B339 #5FD939
monochromatic
#33187F #4822B3 #6339D9 #8B6CE3 #B4A0ED

Accessibility & contrast

On white

6.74
#6339D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6339D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339D9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339D9#FFFFFF#000000##FFFFFF
##6339D91.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#306586
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6339d9;
/* rgb */ color: rgb(99, 57, 217);
/* oklch */ color: oklch(49.8% 0.226 287.0);
Tailwind
colors: {
  custom: {
    50: '#9b74e6',
    500: '#6339d9',
    950: '#000000',
  },
}
SCSS
$custom: #6339d9;
$custom-light: #9b74e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6339d9",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 255.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.22633,
    "h": 287
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#6339D9
secondary
#C7D995
accent
#EB3DBD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6339D9

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

Preview Lab → · Contrast checker → · Palette generator →

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