#6336CD#6336CD

#6336CD is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.216 H 289.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6336CD
RGBrgb(99, 54, 205)
HSLhsl(258, 60%, 51%)
HSVhsv(258, 74%, 80%)
CMYKcmyk(51.7%, 73.7%, 0%, 19.6%)
CIE-LABlab(37.29, 54.63, -70.88)
CIE-LCHlch(37.29, 89.49, 307.62°)
OKLaboklab(48.38% 0.0715 -0.2037)
OKLCHoklch(48.38% 0.216 289.3)
XYZxyz(17.4810, 9.6980, 58.6966)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336CD #A0CD36
analogous
#3654CD #6336CD #AE36CD
triadic
#6336CD #CD6336 #36CD63
tetradic
#6336CD #CD3654 #A0CD36 #36CDAE
square
#6336CD #CD3654 #A0CD36 #36CDAE
split-complementary
#6336CD #CDAE36 #54CD36
monochromatic
#341B6D #4B279E #6336CD #8967D9 #AF98E5

Accessibility & contrast

On white

7.14
#6336CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6336CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336CD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336CD#FFFFFF#000000##FFFFFF
##6336CD1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#3C5F7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6336cd;
/* rgb */ color: rgb(99, 54, 205);
/* oklch */ color: oklch(48.4% 0.216 289.3);
Tailwind
colors: {
  custom: {
    50: '#9a72dd',
    500: '#6336cd',
    950: '#000000',
  },
}
SCSS
$custom: #6336cd;
$custom-light: #9a72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6336cd",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 257.881,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4838,
    "c": 0.21589,
    "h": 289.3
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

primary
#6336CD
secondary
#BDD18E
accent
#E344B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6336CD

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

Preview Lab → · Contrast checker → · Palette generator →

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