#6E36A2#6E36A2

#6E36A2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.168 H 304.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6E36A2
RGBrgb(110, 54, 162)
HSLhsl(271, 50%, 42%)
HSVhsv(271, 67%, 64%)
CMYKcmyk(32.1%, 66.7%, 0%, 36.5%)
CIE-LABlab(35.13, 45.37, -48.95)
CIE-LCHlch(35.13, 66.74, 312.82°)
OKLaboklab(46.06% 0.095 -0.1389)
OKLCHoklch(46.06% 0.168 304.4)
XYZxyz(14.2697, 8.5620, 35.0763)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E36A2 #6AA236
analogous
#3836A2 #6E36A2 #A236A0
triadic
#6E36A2 #A26E36 #36A26E
tetradic
#6E36A2 #A23836 #6AA236 #36A0A2
square
#6E36A2 #A23836 #6AA236 #36A0A2
split-complementary
#6E36A2 #A0A236 #36A238
monochromatic
#301746 #4F2774 #6E36A2 #8D50C5 #AB7ED4

Accessibility & contrast

On white

7.74
#6E36A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6E36A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E36A2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E36A2#FFFFFF#000000##FFFFFF
##6E36A21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#1353A0
Tritanopia (blue-blind)
#644E67
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e36a2;
/* rgb */ color: rgb(110, 54, 162);
/* oklch */ color: oklch(46.1% 0.168 304.4);
Tailwind
colors: {
  custom: {
    50: '#9c71be',
    500: '#6e36a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e36a2;
$custom-light: #9c71be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e36a2",
  "rgb": {
    "r": 110,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 271.111,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46056,
    "c": 0.16827,
    "h": 304.4
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#6E36A2
secondary
#99BD77
accent
#DA4E91
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6E36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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