#6D36B6#6D36B6

#6D36B6 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.191 H 298.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6D36B6
RGBrgb(109, 54, 182)
HSLhsl(266, 54%, 46%)
HSVhsv(266, 70%, 71%)
CMYKcmyk(40.1%, 70.3%, 0%, 28.6%)
CIE-LABlab(36.49, 50.20, -58.68)
CIE-LCHlch(36.49, 77.22, 310.55°)
OKLaboklab(47.48% 0.0908 -0.1675)
OKLCHoklch(47.48% 0.191 298.5)
XYZxyz(16.0672, 9.2667, 45.1890)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D36B6 #7FB636
analogous
#363FB6 #6D36B6 #AD36B6
triadic
#6D36B6 #B66D36 #36B66D
tetradic
#6D36B6 #B6363F #7FB636 #36B6AD
square
#6D36B6 #B6363F #7FB636 #36B6AD
split-complementary
#6D36B6 #B6AD36 #3FB636
monochromatic
#341A58 #512887 #6D36B6 #8C5BCE #AD8ADC

Accessibility & contrast

On white

7.36
#6D36B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6D36B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D36B6
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D36B6#FFFFFF#000000##FFFFFF
##6D36B61.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#5B5572
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d36b6;
/* rgb */ color: rgb(109, 54, 182);
/* oklch */ color: oklch(47.5% 0.191 298.5);
Tailwind
colors: {
  custom: {
    50: '#9d71cd',
    500: '#6d36b6',
    950: '#000000',
  },
}
SCSS
$custom: #6d36b6;
$custom-light: #9d71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d36b6",
  "rgb": {
    "r": 109,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 265.781,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.19055,
    "h": 298.5
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#6D36B6
secondary
#A9C681
accent
#DE4A9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D36B6

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

Preview Lab → · Contrast checker → · Palette generator →

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