#6C36BB#6C36BB

#6C36BB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.196 H 296.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6C36BB
RGBrgb(108, 54, 187)
HSLhsl(264, 55%, 47%)
HSVhsv(264, 71%, 73%)
CMYKcmyk(42.2%, 71.1%, 0%, 26.7%)
CIE-LABlab(36.77, 51.30, -61.18)
CIE-LCHlch(36.77, 79.85, 309.98°)
OKLaboklab(47.77% 0.0885 -0.1749)
OKLCHoklch(47.77% 0.196 296.8)
XYZxyz(16.4708, 9.4140, 47.9534)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C36BB #85BB36
analogous
#3642BB #6C36BB #AF36BB
triadic
#6C36BB #BB6C36 #36BB6C
tetradic
#6C36BB #BB3642 #85BB36 #36BBAF
square
#6C36BB #BB3642 #85BB36 #36BBAF
split-complementary
#6C36BB #BBAF36 #42BB36
monochromatic
#351B5C #51288C #6C36BB #8C5ED0 #AE8DDE

Accessibility & contrast

On white

7.28
#6C36BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6C36BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C36BB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C36BB#FFFFFF#000000##FFFFFF
##6C36BB1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#585775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c36bb;
/* rgb */ color: rgb(108, 54, 187);
/* oklch */ color: oklch(47.8% 0.196 296.8);
Tailwind
colors: {
  custom: {
    50: '#9d72d0',
    500: '#6c36bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c36bb;
$custom-light: #9d72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c36bb",
  "rgb": {
    "r": 108,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 264.361,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.19602,
    "h": 296.8
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

primary
#6C36BB
secondary
#ADC984
accent
#DF49A2
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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