#36115B#36115B

#36115B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.123 H 301.5°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#36115B
RGBrgb(54, 17, 91)
HSLhsl(270, 69%, 21%)
HSVhsv(270, 81%, 36%)
CMYKcmyk(40.7%, 81.3%, 0%, 64.3%)
CIE-LABlab(15.17, 33.70, -36.73)
CIE-LCHlch(15.17, 49.85, 312.54°)
OKLaboklab(28.39% 0.0644 -0.1048)
OKLCHoklch(28.39% 0.123 301.5)
XYZxyz(3.6096, 1.9405, 10.0799)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36115B #365B11
analogous
#11115B #36115B #5B115B
triadic
#36115B #5B3611 #115B36
tetradic
#36115B #5B1111 #365B11 #115B5B
square
#36115B #5B1111 #365B11 #115B5B
split-complementary
#36115B #5B5B11 #115B11
monochromatic
#0F051A #170727 #36115B #551B8F #7324C2

Accessibility & contrast

On white

15.13
#36115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#36115B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36115B
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36115B#FFFFFF#000000##FFFFFF
##36115B1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#2E2435
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #36115b;
/* rgb */ color: rgb(54, 17, 91);
/* oklch */ color: oklch(28.4% 0.123 301.5);
Tailwind
colors: {
  custom: {
    50: '#71538a',
    500: '#36115b',
    950: '#000000',
  },
}
SCSS
$custom: #36115b;
$custom-light: #71538a;
$custom-dark: #000000;
JSON
{
  "hex": "#36115b",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 270,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28394,
    "c": 0.12301,
    "h": 301.5
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#36115B
secondary
#649434
accent
#EB3C94
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36115B

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

Preview Lab → · Contrast checker → · Palette generator →

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