#36154D#36154D

#36154D is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.101 H 308.2°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#36154D
RGBrgb(54, 21, 77)
HSLhsl(275, 57%, 19%)
HSVhsv(275, 73%, 30%)
CMYKcmyk(29.9%, 72.7%, 0%, 69.8%)
CIE-LABlab(14.72, 27.85, -27.97)
CIE-LCHlch(14.72, 39.47, 314.88°)
OKLaboklab(27.69% 0.0623 -0.0791)
OKLCHoklch(27.69% 0.101 308.2)
XYZxyz(3.1288, 1.8565, 7.2132)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36154D #2C4D15
analogous
#1A154D #36154D #4D1548
triadic
#36154D #4D3615 #154D36
tetradic
#36154D #4D1A15 #2C4D15 #15484D
square
#36154D #4D1A15 #2C4D15 #15484D
split-complementary
#36154D #484D15 #154D1A
monochromatic
#110718 #14081D #36154D #58227D #792FAD

Accessibility & contrast

On white

15.32
#36154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#36154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36154D
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36154D#FFFFFF#000000##FFFFFF
##36154D1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#0A254C
Tritanopia (blue-blind)
#32212F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #36154d;
/* rgb */ color: rgb(54, 21, 77);
/* oklch */ color: oklch(27.7% 0.101 308.2);
Tailwind
colors: {
  custom: {
    50: '#70557f',
    500: '#36154d',
    950: '#000000',
  },
}
SCSS
$custom: #36154d;
$custom-light: #70557f;
$custom-dark: #000000;
JSON
{
  "hex": "#36154d",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 275.357,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27695,
    "c": 0.10072,
    "h": 308.2
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#36154D
secondary
#588539
accent
#E04786
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #36154D

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

Preview Lab → · Contrast checker → · Palette generator →

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