#6C36CD#6C36CD

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

Color values

HEX#6C36CD
RGBrgb(108, 54, 205)
HSLhsl(261, 60%, 51%)
HSVhsv(261, 74%, 80%)
CMYKcmyk(47.3%, 73.7%, 0%, 19.6%)
CIE-LABlab(38.26, 56.00, -69.27)
CIE-LCHlch(38.26, 89.07, 308.95°)
OKLaboklab(49.28% 0.0846 -0.1987)
OKLCHoklch(49.28% 0.216 293.1)
XYZxyz(18.5199, 10.2336, 58.7453)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C36CD #97CD36
analogous
#364BCD #6C36CD #B736CD
triadic
#6C36CD #CD6C36 #36CD6C
tetradic
#6C36CD #CD364B #97CD36 #36CDB7
square
#6C36CD #CD364B #97CD36 #36CDB7
split-complementary
#6C36CD #CDB736 #4BCD36
monochromatic
#391B6D #52279E #6C36CD #9067D9 #B498E5

Accessibility & contrast

On white

6.89
#6C36CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6C36CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C36CD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C36CD#FFFFFF#000000##FFFFFF
##6C36CD1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c36cd;
/* rgb */ color: rgb(108, 54, 205);
/* oklch */ color: oklch(49.3% 0.216 293.1);
Tailwind
colors: {
  custom: {
    50: '#9f72dd',
    500: '#6c36cd',
    950: '#000000',
  },
}
SCSS
$custom: #6c36cd;
$custom-light: #9f72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c36cd",
  "rgb": {
    "r": 108,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 261.457,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.21592,
    "h": 293.1
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#6C36CD
secondary
#B9D18E
accent
#E344AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6C36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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