#6E36B4#6E36B4

#6E36B4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.188 H 299.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6E36B4
RGBrgb(110, 54, 180)
HSLhsl(267, 54%, 46%)
HSVhsv(267, 70%, 71%)
CMYKcmyk(38.9%, 70%, 0%, 29.4%)
CIE-LABlab(36.46, 49.88, -57.55)
CIE-LCHlch(36.46, 76.16, 310.92°)
OKLaboklab(47.43% 0.0926 -0.1642)
OKLCHoklch(47.43% 0.188 299.4)
XYZxyz(15.9857, 9.2484, 44.1141)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E36B4 #7CB436
analogous
#363DB4 #6E36B4 #AD36B4
triadic
#6E36B4 #B46E36 #36B46E
tetradic
#6E36B4 #B4363D #7CB436 #36B4AD
square
#6E36B4 #B4363D #7CB436 #36B4AD
split-complementary
#6E36B4 #B4AD36 #3DB436
monochromatic
#341A56 #512885 #6E36B4 #8D5ACD #AE89DC

Accessibility & contrast

On white

7.37
#6E36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E36B4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E36B4#FFFFFF#000000##FFFFFF
##6E36B41.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#5E5471
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e36b4;
/* rgb */ color: rgb(110, 54, 180);
/* oklch */ color: oklch(47.4% 0.188 299.4);
Tailwind
colors: {
  custom: {
    50: '#9d71cb',
    500: '#6e36b4',
    950: '#000000',
  },
}
SCSS
$custom: #6e36b4;
$custom-light: #9d71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e36b4",
  "rgb": {
    "r": 110,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 266.667,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47428,
    "c": 0.18846,
    "h": 299.4
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#6E36B4
secondary
#A7C680
accent
#DD4B9C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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