#6C36C2#6C36C2

#6C36C2 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.3% C 0.204 H 295.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6C36C2
RGBrgb(108, 54, 194)
HSLhsl(263, 56%, 49%)
HSVhsv(263, 72%, 76%)
CMYKcmyk(44.3%, 72.2%, 0%, 23.9%)
CIE-LABlab(37.34, 53.12, -64.37)
CIE-LCHlch(37.34, 83.46, 309.53°)
OKLaboklab(48.35% 0.0871 -0.1843)
OKLCHoklch(48.35% 0.204 295.3)
XYZxyz(17.2385, 9.7211, 51.9966)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C36C2 #8CC236
analogous
#3646C2 #6C36C2 #B236C2
triadic
#6C36C2 #C26C36 #36C26C
tetradic
#6C36C2 #C23646 #8CC236 #36C2B2
square
#6C36C2 #C23646 #8CC236 #36C2B2
split-complementary
#6C36C2 #C2B236 #46C236
monochromatic
#371B62 #512992 #6C36C2 #8E62D3 #B092E1

Accessibility & contrast

On white

7.13
#6C36C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6C36C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C36C2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C36C2#FFFFFF#000000##FFFFFF
##6C36C21.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#545A79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c36c2;
/* rgb */ color: rgb(108, 54, 194);
/* oklch */ color: oklch(48.3% 0.204 295.3);
Tailwind
colors: {
  custom: {
    50: '#9e72d5',
    500: '#6c36c2',
    950: '#000000',
  },
}
SCSS
$custom: #6c36c2;
$custom-light: #9e72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c36c2",
  "rgb": {
    "r": 108,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 263.143,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.20381,
    "h": 295.3
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#6C36C2
secondary
#B2CC88
accent
#E048A5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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