#36157D#36157D

#36157D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.159 H 288.4°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#36157D
RGBrgb(54, 21, 125)
HSLhsl(259, 71%, 29%)
HSVhsv(259, 83%, 49%)
CMYKcmyk(56.8%, 83.2%, 0%, 51%)
CIE-LABlab(19.23, 41.43, -52.28)
CIE-LCHlch(19.23, 66.71, 308.40°)
OKLaboklab(32.26% 0.05 -0.1504)
OKLCHoklch(32.26% 0.159 288.4)
XYZxyz(5.4901, 2.8010, 19.6494)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36157D #5C7D15
analogous
#15287D #36157D #6A157D
triadic
#36157D #7D3615 #157D36
tetradic
#36157D #7D1528 #5C7D15 #157D6A
square
#36157D #7D1528 #5C7D15 #157D6A
split-complementary
#36157D #7D6A15 #287D15
monochromatic
#0B041A #1F0C49 #36157D #4D1EB1 #6730DC

Accessibility & contrast

On white

13.46
#36157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#36157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36157D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36157D#FFFFFF#000000##FFFFFF
##36157D1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#18344A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36157d;
/* rgb */ color: rgb(54, 21, 125);
/* oklch */ color: oklch(32.3% 0.159 288.4);
Tailwind
colors: {
  custom: {
    50: '#7658a4',
    500: '#36157d',
    950: '#000000',
  },
}
SCSS
$custom: #36157d;
$custom-light: #7658a4;
$custom-dark: #000000;
JSON
{
  "hex": "#36157d",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 259.038,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32261,
    "c": 0.15854,
    "h": 288.4
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#36157D
secondary
#8DB23C
accent
#EE3AB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #36157D

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

Preview Lab → · Contrast checker → · Palette generator →

#36157D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva