#6336BB#6336BB

#6336BB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.195 H 292.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6336BB
RGBrgb(99, 54, 187)
HSLhsl(260, 55%, 47%)
HSVhsv(260, 71%, 73%)
CMYKcmyk(47.1%, 71.1%, 0%, 26.7%)
CIE-LABlab(35.75, 49.71, -62.89)
CIE-LCHlch(35.75, 80.17, 308.33°)
OKLaboklab(46.81% 0.0755 -0.1802)
OKLCHoklch(46.81% 0.195 292.7)
XYZxyz(15.4319, 8.8783, 47.9047)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6336BB #8EBB36
analogous
#364BBB #6336BB #A636BB
triadic
#6336BB #BB6336 #36BB63
tetradic
#6336BB #BB364B #8EBB36 #36BBA6
square
#6336BB #BB364B #8EBB36 #36BBA6
split-complementary
#6336BB #BBA636 #4BBB36
monochromatic
#311B5C #4A288C #6336BB #855ED0 #A98DDE

Accessibility & contrast

On white

7.57
#6336BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6336BB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6336BB#FFFFFF#000000##FFFFFF
##6336BB1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#485875
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6336bb;
/* rgb */ color: rgb(99, 54, 187);
/* oklch */ color: oklch(46.8% 0.195 292.7);
Tailwind
colors: {
  custom: {
    50: '#9771d0',
    500: '#6336bb',
    950: '#000000',
  },
}
SCSS
$custom: #6336bb;
$custom-light: #9771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6336bb",
  "rgb": {
    "r": 99,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 260.301,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46811,
    "c": 0.19542,
    "h": 292.7
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#6336BB
secondary
#B1C984
accent
#DF49AC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6336BB

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

Preview Lab → · Contrast checker → · Palette generator →

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