#6336DA#6336DA

#6336DA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.230 H 287.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6336DA
RGBrgb(99, 54, 218)
HSLhsl(256, 69%, 53%)
HSVhsv(256, 75%, 85%)
CMYKcmyk(54.6%, 75.2%, 0%, 14.5%)
CIE-LABlab(38.47, 58.18, -76.46)
CIE-LCHlch(38.47, 96.08, 307.27°)
OKLaboklab(49.56% 0.0683 -0.22)
OKLCHoklch(49.56% 0.23 287.2)
XYZxyz(19.1159, 10.3519, 67.3069)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336DA #ADDA36
analogous
#365BDA #6336DA #B536DA
triadic
#6336DA #DA6336 #36DA63
tetradic
#6336DA #DA365B #ADDA36 #36DAB5
square
#6336DA #DA365B #ADDA36 #36DAB5
split-complementary
#6336DA #DAB536 #5BDA36
monochromatic
#34177E #4921B2 #6336DA #8B6AE4 #B39DED

Accessibility & contrast

On white

6.84
#6336DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6336DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6336DA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336DA#FFFFFF#000000##FFFFFF
##6336DA1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDF
Deuteranopia (green-blind)
#0056D7
Tritanopia (blue-blind)
#2F6486
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6336da;
/* rgb */ color: rgb(99, 54, 218);
/* oklch */ color: oklch(49.6% 0.230 287.2);
Tailwind
colors: {
  custom: {
    50: '#9c72e7',
    500: '#6336da',
    950: '#000000',
  },
}
SCSS
$custom: #6336da;
$custom-light: #9c72e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6336da",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 218
  },
  "hsl": {
    "h": 256.463,
    "s": 68.908,
    "l": 53.333
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.23037,
    "h": 287.2
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#6336DA
secondary
#C6D993
accent
#EC3CBC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6336DA

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

Preview Lab → · Contrast checker → · Palette generator →

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