#6D36C6#6D36C6

#6D36C6 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.208 H 294.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6D36C6
RGBrgb(109, 54, 198)
HSLhsl(263, 57%, 49%)
HSVhsv(263, 73%, 78%)
CMYKcmyk(44.9%, 72.7%, 0%, 22.4%)
CIE-LABlab(37.78, 54.33, -65.97)
CIE-LCHlch(37.78, 85.47, 309.47°)
OKLaboklab(48.79% 0.0876 -0.189)
OKLCHoklch(48.79% 0.208 294.9)
XYZxyz(17.8161, 9.9663, 54.4001)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D36C6 #8FC636
analogous
#3647C6 #6D36C6 #B536C6
triadic
#6D36C6 #C66D36 #36C66D
tetradic
#6D36C6 #C63647 #8FC636 #36C6B5
square
#6D36C6 #C63647 #8FC636 #36C6B5
split-complementary
#6D36C6 #C6B536 #47C636
monochromatic
#381C66 #532996 #6D36C6 #8F64D5 #B294E2

Accessibility & contrast

On white

7.02
#6D36C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6D36C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D36C6
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D36C6#FFFFFF#000000##FFFFFF
##6D36C61.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#545B7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d36c6;
/* rgb */ color: rgb(109, 54, 198);
/* oklch */ color: oklch(48.8% 0.208 294.9);
Tailwind
colors: {
  custom: {
    50: '#9f72d8',
    500: '#6d36c6',
    950: '#000000',
  },
}
SCSS
$custom: #6d36c6;
$custom-light: #9f72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d36c6",
  "rgb": {
    "r": 109,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 262.917,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4879,
    "c": 0.20829,
    "h": 294.9
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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