#6B36CD#6B36CD

#6B36CD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.216 H 292.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6B36CD
RGBrgb(107, 54, 205)
HSLhsl(261, 60%, 51%)
HSVhsv(261, 74%, 80%)
CMYKcmyk(47.8%, 73.7%, 0%, 19.6%)
CIE-LABlab(38.15, 55.84, -69.45)
CIE-LCHlch(38.15, 89.12, 308.80°)
OKLaboklab(49.18% 0.0831 -0.1992)
OKLCHoklch(49.18% 0.216 292.6)
XYZxyz(18.3989, 10.1713, 58.7396)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B36CD #98CD36
analogous
#364CCD #6B36CD #B736CD
triadic
#6B36CD #CD6B36 #36CD6B
tetradic
#6B36CD #CD364C #98CD36 #36CDB7
square
#6B36CD #CD364C #98CD36 #36CDB7
split-complementary
#6B36CD #CDB736 #4CCD36
monochromatic
#381B6D #51279E #6B36CD #8F67D9 #B398E5

Accessibility & contrast

On white

6.92
#6B36CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6B36CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B36CD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B36CD#FFFFFF#000000##FFFFFF
##6B36CD1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#4C5E7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b36cd;
/* rgb */ color: rgb(107, 54, 205);
/* oklch */ color: oklch(49.2% 0.216 292.6);
Tailwind
colors: {
  custom: {
    50: '#9e72dd',
    500: '#6b36cd',
    950: '#000000',
  },
}
SCSS
$custom: #6b36cd;
$custom-light: #9e72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b36cd",
  "rgb": {
    "r": 107,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 261.06,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.21589,
    "h": 292.6
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#6B36CD
secondary
#B9D18E
accent
#E344AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B36CD

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

Preview Lab → · Contrast checker → · Palette generator →

#6B36CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva