#6336C4#6336C4

#6336C4 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.206 H 291.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6336C4
RGBrgb(99, 54, 196)
HSLhsl(259, 57%, 49%)
HSVhsv(259, 72%, 77%)
CMYKcmyk(49.5%, 72.4%, 0%, 23.1%)
CIE-LABlab(36.51, 52.17, -66.93)
CIE-LCHlch(36.51, 84.86, 307.93°)
OKLaboklab(47.59% 0.0736 -0.1921)
OKLCHoklch(47.59% 0.206 291)
XYZxyz(16.4257, 9.2759, 53.1388)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336C4 #97C436
analogous
#3650C4 #6336C4 #AA36C4
triadic
#6336C4 #C46336 #36C463
tetradic
#6336C4 #C43650 #97C436 #36C4AA
square
#6336C4 #C43650 #97C436 #36C4AA
split-complementary
#6336C4 #C4AA36 #50C436
monochromatic
#331C64 #4B2994 #6336C4 #8763D4 #AC93E1

Accessibility & contrast

On white

7.35
#6336C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6336C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336C4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336C4#FFFFFF#000000##FFFFFF
##6336C41.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#425C7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6336c4;
/* rgb */ color: rgb(99, 54, 196);
/* oklch */ color: oklch(47.6% 0.206 291.0);
Tailwind
colors: {
  custom: {
    50: '#9871d7',
    500: '#6336c4',
    950: '#000000',
  },
}
SCSS
$custom: #6336c4;
$custom-light: #9871d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6336c4",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 259.014,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.20572,
    "h": 291
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#6336C4
secondary
#B7CC89
accent
#E048B0
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6336C4

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

Preview Lab → · Contrast checker → · Palette generator →

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