#6E36B2#6E36B2

#6E36B2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.186 H 299.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6E36B2
RGBrgb(110, 54, 178)
HSLhsl(267, 53%, 45%)
HSVhsv(267, 70%, 70%)
CMYKcmyk(38.2%, 69.7%, 0%, 30.2%)
CIE-LABlab(36.30, 49.37, -56.61)
CIE-LCHlch(36.30, 75.12, 311.09°)
OKLaboklab(47.27% 0.0929 -0.1614)
OKLCHoklch(47.27% 0.186 299.9)
XYZxyz(15.7835, 9.1675, 43.0488)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E36B2 #7AB236
analogous
#363CB2 #6E36B2 #AC36B2
triadic
#6E36B2 #B26E36 #36B26E
tetradic
#6E36B2 #B2363C #7AB236 #36B2AC
square
#6E36B2 #B2363C #7AB236 #36B2AC
split-complementary
#6E36B2 #B2AC36 #3CB236
monochromatic
#341A54 #512883 #6E36B2 #8D59CD #AD88DB

Accessibility & contrast

On white

7.41
#6E36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6E36B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E36B2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E36B2#FFFFFF#000000##FFFFFF
##6E36B21.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#5F5470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e36b2;
/* rgb */ color: rgb(110, 54, 178);
/* oklch */ color: oklch(47.3% 0.186 299.9);
Tailwind
colors: {
  custom: {
    50: '#9d71ca',
    500: '#6e36b2',
    950: '#000000',
  },
}
SCSS
$custom: #6e36b2;
$custom-light: #9d71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e36b2",
  "rgb": {
    "r": 110,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 267.097,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47271,
    "c": 0.18623,
    "h": 299.9
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#6E36B2
secondary
#A5C57F
accent
#DD4B9B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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