#6336DD#6336DD

#6336DD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.234 H 286.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6336DD
RGBrgb(99, 54, 221)
HSLhsl(256, 71%, 54%)
HSVhsv(256, 76%, 87%)
CMYKcmyk(55.2%, 75.6%, 0%, 13.3%)
CIE-LABlab(38.74, 58.99, -77.73)
CIE-LCHlch(38.74, 97.58, 307.20°)
OKLaboklab(49.84% 0.0675 -0.2237)
OKLCHoklch(49.84% 0.234 286.8)
XYZxyz(19.5120, 10.5104, 69.3932)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336DD #B0DD36
analogous
#365DDD #6336DD #B736DD
triadic
#6336DD #DD6336 #36DD63
tetradic
#6336DD #DD365D #B0DD36 #36DDB7
square
#6336DD #DD365D #B0DD36 #36DDB7
split-complementary
#6336DD #DDB736 #5DDD36
monochromatic
#331683 #481FB7 #6336DD #8C6AE6 #B49FEF

Accessibility & contrast

On white

6.77
#6336DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6336DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6336DD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336DD#FFFFFF#000000##FFFFFF
##6336DD1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE2
Deuteranopia (green-blind)
#0056DA
Tritanopia (blue-blind)
#2B6588
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6336dd;
/* rgb */ color: rgb(99, 54, 221);
/* oklch */ color: oklch(49.8% 0.234 286.8);
Tailwind
colors: {
  custom: {
    50: '#9c72e9',
    500: '#6336dd',
    950: '#000000',
  },
}
SCSS
$custom: #6336dd;
$custom-light: #9c72e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6336dd",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 221
  },
  "hsl": {
    "h": 256.168,
    "s": 71.064,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49838,
    "c": 0.23369,
    "h": 286.8
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#6336DD
secondary
#C8DB94
accent
#EE3ABD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6336DD

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

Preview Lab → · Contrast checker → · Palette generator →

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