#36157C#36157C

#36157C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.157 H 288.7°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#36157C
RGBrgb(54, 21, 124)
HSLhsl(259, 71%, 28%)
HSVhsv(259, 83%, 49%)
CMYKcmyk(56.5%, 83.1%, 0%, 51.4%)
CIE-LABlab(19.12, 41.14, -51.82)
CIE-LCHlch(19.12, 66.17, 308.45°)
OKLaboklab(32.16% 0.0504 -0.1491)
OKLCHoklch(32.16% 0.157 288.7)
XYZxyz(5.4265, 2.7756, 19.3147)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36157C #5B7C15
analogous
#15287C #36157C #69157C
triadic
#36157C #7C3615 #157C36
tetradic
#36157C #7C1528 #5B7C15 #157C69
square
#36157C #7C1528 #5B7C15 #157C69
split-complementary
#36157C #7C6915 #287C15
monochromatic
#0B041A #1F0C48 #36157C #4D1EB0 #6730DC

Accessibility & contrast

On white

13.50
#36157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36157C
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36157C#FFFFFF#000000##FFFFFF
##36157C1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#193449
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #36157c;
/* rgb */ color: rgb(54, 21, 124);
/* oklch */ color: oklch(32.2% 0.157 288.7);
Tailwind
colors: {
  custom: {
    50: '#7658a3',
    500: '#36157c',
    950: '#000000',
  },
}
SCSS
$custom: #36157c;
$custom-light: #7658a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36157c",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 259.223,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32155,
    "c": 0.15737,
    "h": 288.7
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36157C

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

Preview Lab → · Contrast checker → · Palette generator →

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