#6336BC#6336BC

#6336BC is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.197 H 292.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6336BC
RGBrgb(99, 54, 188)
HSLhsl(260, 55%, 47%)
HSVhsv(260, 71%, 74%)
CMYKcmyk(47.3%, 71.3%, 0%, 26.3%)
CIE-LABlab(35.83, 49.99, -63.34)
CIE-LCHlch(35.83, 80.69, 308.28°)
OKLaboklab(46.9% 0.0753 -0.1816)
OKLCHoklch(46.9% 0.197 292.5)
XYZxyz(15.5393, 8.9213, 48.4704)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336BC #8FBC36
analogous
#364CBC #6336BC #A636BC
triadic
#6336BC #BC6336 #36BC63
tetradic
#6336BC #BC364C #8FBC36 #36BCA6
square
#6336BC #BC364C #8FBC36 #36BCA6
split-complementary
#6336BC #BCA636 #4CBC36
monochromatic
#311B5D #4A288C #6336BC #855ED1 #A98EDF

Accessibility & contrast

On white

7.54
#6336BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6336BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6336BC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336BC#FFFFFF#000000##FFFFFF
##6336BC1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#485975
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6336bc;
/* rgb */ color: rgb(99, 54, 188);
/* oklch */ color: oklch(46.9% 0.197 292.5);
Tailwind
colors: {
  custom: {
    50: '#9771d1',
    500: '#6336bc',
    950: '#000000',
  },
}
SCSS
$custom: #6336bc;
$custom-light: #9771d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6336bc",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 260.149,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.19657,
    "h": 292.5
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#6336BC
secondary
#B2C985
accent
#DF49AC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6336BC

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

Preview Lab → · Contrast checker → · Palette generator →

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