#6336C9#6336C9

#6336C9 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.211 H 290.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6336C9
RGBrgb(99, 54, 201)
HSLhsl(258, 58%, 50%)
HSVhsv(258, 73%, 79%)
CMYKcmyk(50.7%, 73.1%, 0%, 21.2%)
CIE-LABlab(36.94, 53.53, -69.14)
CIE-LCHlch(36.94, 87.44, 307.75°)
OKLaboklab(48.02% 0.0725 -0.1986)
OKLCHoklch(48.02% 0.211 290)
XYZxyz(17.0043, 9.5073, 56.1861)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336C9 #9CC936
analogous
#3653C9 #6336C9 #AC36C9
triadic
#6336C9 #C96336 #36C963
tetradic
#6336C9 #C93653 #9CC936 #36C9AC
square
#6336C9 #C93653 #9CC936 #36C9AC
split-complementary
#6336C9 #C9AC36 #53C936
monochromatic
#331C69 #4B2999 #6336C9 #8866D6 #AE96E3

Accessibility & contrast

On white

7.24
#6336C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6336C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336C9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336C9#FFFFFF#000000##FFFFFF
##6336C91.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#3F5E7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6336c9;
/* rgb */ color: rgb(99, 54, 201);
/* oklch */ color: oklch(48.0% 0.211 290.0);
Tailwind
colors: {
  custom: {
    50: '#9971db',
    500: '#6336c9',
    950: '#000000',
  },
}
SCSS
$custom: #6336c9;
$custom-light: #9971db;
$custom-dark: #000000;
JSON
{
  "hex": "#6336c9",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 201
  },
  "hsl": {
    "h": 258.367,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.48024,
    "c": 0.21139,
    "h": 290
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#6336C9
secondary
#BACE8C
accent
#E147B2
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6336C9

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

Preview Lab → · Contrast checker → · Palette generator →

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