#36157B#36157B

#36157B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.156 H 288.9°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#36157B
RGBrgb(54, 21, 123)
HSLhsl(259, 71%, 28%)
HSVhsv(259, 83%, 48%)
CMYKcmyk(56.1%, 82.9%, 0%, 51.8%)
CIE-LABlab(19.02, 40.86, -51.36)
CIE-LCHlch(19.02, 65.63, 308.50°)
OKLaboklab(32.05% 0.0507 -0.1477)
OKLCHoklch(32.05% 0.156 288.9)
XYZxyz(5.3636, 2.7504, 18.9833)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36157B #5A7B15
analogous
#15277B #36157B #69157B
triadic
#36157B #7B3615 #157B36
tetradic
#36157B #7B1527 #5A7B15 #157B69
square
#36157B #7B1527 #5A7B15 #157B69
split-complementary
#36157B #7B6915 #277B15
monochromatic
#0B041A #1F0C47 #36157B #4D1EAF #672FDB

Accessibility & contrast

On white

13.55
#36157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#36157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36157B
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36157B#FFFFFF#000000##FFFFFF
##36157B1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#1A3348
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #36157b;
/* rgb */ color: rgb(54, 21, 123);
/* oklch */ color: oklch(32.0% 0.156 288.9);
Tailwind
colors: {
  custom: {
    50: '#7657a2',
    500: '#36157b',
    950: '#000000',
  },
}
SCSS
$custom: #36157b;
$custom-light: #7657a2;
$custom-dark: #000000;
JSON
{
  "hex": "#36157b",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 259.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32049,
    "c": 0.15621,
    "h": 288.9
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#36157B
secondary
#8BB03B
accent
#EE3AB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #36157B

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

Preview Lab → · Contrast checker → · Palette generator →

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