#6C36C6#6C36C6

#6C36C6 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.208 H 294.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6C36C6
RGBrgb(108, 54, 198)
HSLhsl(263, 57%, 49%)
HSVhsv(263, 73%, 78%)
CMYKcmyk(45.5%, 72.7%, 0%, 22.4%)
CIE-LABlab(37.67, 54.17, -66.16)
CIE-LCHlch(37.67, 85.51, 309.31°)
OKLaboklab(48.68% 0.0862 -0.1895)
OKLCHoklch(48.68% 0.208 294.4)
XYZxyz(17.6938, 9.9032, 54.3944)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C36C6 #90C636
analogous
#3648C6 #6C36C6 #B436C6
triadic
#6C36C6 #C66C36 #36C66C
tetradic
#6C36C6 #C63648 #90C636 #36C6B4
square
#6C36C6 #C63648 #90C636 #36C6B4
split-complementary
#6C36C6 #C6B436 #48C636
monochromatic
#381C66 #522996 #6C36C6 #8F64D5 #B294E2

Accessibility & contrast

On white

7.05
#6C36C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6C36C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C36C6
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C36C6#FFFFFF#000000##FFFFFF
##6C36C61.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#525C7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c36c6;
/* rgb */ color: rgb(108, 54, 198);
/* oklch */ color: oklch(48.7% 0.208 294.4);
Tailwind
colors: {
  custom: {
    50: '#9e72d8',
    500: '#6c36c6',
    950: '#000000',
  },
}
SCSS
$custom: #6c36c6;
$custom-light: #9e72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c36c6",
  "rgb": {
    "r": 108,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 262.5,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48684,
    "c": 0.20822,
    "h": 294.4
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#6C36C6
secondary
#B4CD8B
accent
#E047A7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6C36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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