#6336CA#6336CA

#6336CA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.213 H 289.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6336CA
RGBrgb(99, 54, 202)
HSLhsl(258, 58%, 50%)
HSVhsv(258, 73%, 79%)
CMYKcmyk(51%, 73.3%, 0%, 20.8%)
CIE-LABlab(37.03, 53.81, -69.58)
CIE-LCHlch(37.03, 87.95, 307.72°)
OKLaboklab(48.11% 0.0722 -0.1999)
OKLCHoklch(48.11% 0.213 289.9)
XYZxyz(17.1224, 9.5545, 56.8077)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336CA #9DCA36
analogous
#3653CA #6336CA #AD36CA
triadic
#6336CA #CA6336 #36CA63
tetradic
#6336CA #CA3653 #9DCA36 #36CAAD
square
#6336CA #CA3653 #9DCA36 #36CAAD
split-complementary
#6336CA #CAAD36 #53CA36
monochromatic
#341C6A #4B299A #6336CA #8966D7 #AE97E4

Accessibility & contrast

On white

7.21
#6336CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6336CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336CA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336CA#FFFFFF#000000##FFFFFF
##6336CA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#3E5E7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6336ca;
/* rgb */ color: rgb(99, 54, 202);
/* oklch */ color: oklch(48.1% 0.213 289.9);
Tailwind
colors: {
  custom: {
    50: '#9971db',
    500: '#6336ca',
    950: '#000000',
  },
}
SCSS
$custom: #6336ca;
$custom-light: #9971db;
$custom-dark: #000000;
JSON
{
  "hex": "#6336ca",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 258.243,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48113,
    "c": 0.21251,
    "h": 289.9
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#6336CA
secondary
#BBCF8D
accent
#E146B2
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6336CA

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

Preview Lab → · Contrast checker → · Palette generator →

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