#6D36C2#6D36C2

#6D36C2 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.204 H 295.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6D36C2
RGBrgb(109, 54, 194)
HSLhsl(264, 56%, 49%)
HSVhsv(264, 72%, 76%)
CMYKcmyk(43.8%, 72.2%, 0%, 23.9%)
CIE-LABlab(37.45, 53.29, -64.17)
CIE-LCHlch(37.45, 83.42, 309.71°)
OKLaboklab(48.46% 0.0885 -0.1837)
OKLCHoklch(48.46% 0.204 295.7)
XYZxyz(17.3608, 9.7842, 52.0023)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D36C2 #8BC236
analogous
#3645C2 #6D36C2 #B336C2
triadic
#6D36C2 #C26D36 #36C26D
tetradic
#6D36C2 #C23645 #8BC236 #36C2B3
square
#6D36C2 #C23645 #8BC236 #36C2B3
split-complementary
#6D36C2 #C2B336 #45C236
monochromatic
#371B62 #522992 #6D36C2 #8E62D3 #B192E1

Accessibility & contrast

On white

7.10
#6D36C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6D36C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D36C2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D36C2#FFFFFF#000000##FFFFFF
##6D36C21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d36c2;
/* rgb */ color: rgb(109, 54, 194);
/* oklch */ color: oklch(48.5% 0.204 295.7);
Tailwind
colors: {
  custom: {
    50: '#9e72d5',
    500: '#6d36c2',
    950: '#000000',
  },
}
SCSS
$custom: #6d36c2;
$custom-light: #9e72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d36c2",
  "rgb": {
    "r": 109,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 263.571,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48455,
    "c": 0.20388,
    "h": 295.7
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#6D36C2
secondary
#B1CC88
accent
#E048A4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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