#6E36B8#6E36B8

#6E36B8 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.193 H 298.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6E36B8
RGBrgb(110, 54, 184)
HSLhsl(266, 55%, 47%)
HSVhsv(266, 71%, 72%)
CMYKcmyk(40.2%, 70.7%, 0%, 27.8%)
CIE-LABlab(36.77, 50.90, -59.41)
CIE-LCHlch(36.77, 78.23, 310.59°)
OKLaboklab(47.75% 0.0919 -0.1696)
OKLCHoklch(47.75% 0.193 298.4)
XYZxyz(16.3991, 9.4138, 46.2912)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E36B8 #80B836
analogous
#363FB8 #6E36B8 #AF36B8
triadic
#6E36B8 #B86E36 #36B86E
tetradic
#6E36B8 #B8363F #80B836 #36B8AF
square
#6E36B8 #B8363F #80B836 #36B8AF
split-complementary
#6E36B8 #B8AF36 #3FB836
monochromatic
#351A59 #522889 #6E36B8 #8E5CCF #AF8BDD

Accessibility & contrast

On white

7.28
#6E36B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6E36B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E36B8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E36B8#FFFFFF#000000##FFFFFF
##6E36B81.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#5C5673
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e36b8;
/* rgb */ color: rgb(110, 54, 184);
/* oklch */ color: oklch(47.7% 0.193 298.4);
Tailwind
colors: {
  custom: {
    50: '#9e72ce',
    500: '#6e36b8',
    950: '#000000',
  },
}
SCSS
$custom: #6e36b8;
$custom-light: #9e72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e36b8",
  "rgb": {
    "r": 110,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 265.846,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47747,
    "c": 0.19292,
    "h": 298.4
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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