#36115C#36115C

#36115C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.124 H 301.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#36115C
RGBrgb(54, 17, 92)
HSLhsl(270, 69%, 21%)
HSVhsv(270, 82%, 36%)
CMYKcmyk(41.3%, 81.5%, 0%, 63.9%)
CIE-LABlab(15.26, 33.98, -37.25)
CIE-LCHlch(15.26, 50.42, 312.37°)
OKLaboklab(28.49% 0.0641 -0.1064)
OKLCHoklch(28.49% 0.124 301.1)
XYZxyz(3.6531, 1.9578, 10.3086)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36115C #375C11
analogous
#11125C #36115C #5C115C
triadic
#36115C #5C3611 #115C36
tetradic
#36115C #5C1112 #375C11 #115C5C
square
#36115C #5C1112 #375C11 #115C5C
split-complementary
#36115C #5C5C11 #125C11
monochromatic
#0F051A #180728 #36115C #541B90 #7324C3

Accessibility & contrast

On white

15.09
#36115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36115C
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36115C#FFFFFF#000000##FFFFFF
##36115C1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#2D2536
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #36115c;
/* rgb */ color: rgb(54, 17, 92);
/* oklch */ color: oklch(28.5% 0.124 301.1);
Tailwind
colors: {
  custom: {
    50: '#72548b',
    500: '#36115c',
    950: '#000000',
  },
}
SCSS
$custom: #36115c;
$custom-light: #72548b;
$custom-dark: #000000;
JSON
{
  "hex": "#36115c",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 269.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28488,
    "c": 0.12418,
    "h": 301.1
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#36115C
secondary
#659534
accent
#EC3C95
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36115C

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

Preview Lab → · Contrast checker → · Palette generator →

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