#6336D9#6336D9

#6336D9 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.229 H 287.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6336D9
RGBrgb(99, 54, 217)
HSLhsl(257, 68%, 53%)
HSVhsv(257, 75%, 85%)
CMYKcmyk(54.4%, 75.1%, 0%, 14.9%)
CIE-LABlab(38.38, 57.90, -76.04)
CIE-LCHlch(38.38, 95.58, 307.29°)
OKLaboklab(49.47% 0.0685 -0.2188)
OKLCHoklch(49.47% 0.229 287.4)
XYZxyz(18.9854, 10.2997, 66.6198)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336D9 #ACD936
analogous
#365BD9 #6336D9 #B436D9
triadic
#6336D9 #D96336 #36D963
tetradic
#6336D9 #D9365B #ACD936 #36D9B4
square
#6336D9 #D9365B #ACD936 #36D9B4
split-complementary
#6336D9 #D9B436 #5BD936
monochromatic
#34187D #4921B0 #6336D9 #8B69E3 #B39DEC

Accessibility & contrast

On white

6.86
#6336D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6336D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6336D9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336D9#FFFFFF#000000##FFFFFF
##6336D91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDE
Deuteranopia (green-blind)
#0056D6
Tritanopia (blue-blind)
#306486
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6336d9;
/* rgb */ color: rgb(99, 54, 217);
/* oklch */ color: oklch(49.5% 0.229 287.4);
Tailwind
colors: {
  custom: {
    50: '#9b72e6',
    500: '#6336d9',
    950: '#000000',
  },
}
SCSS
$custom: #6336d9;
$custom-light: #9b72e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6336d9",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 256.564,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.22928,
    "h": 287.4
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#6336D9
secondary
#C5D992
accent
#EB3DBB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6336D9

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

Preview Lab → · Contrast checker → · Palette generator →

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