#36154A#36154A

#36154A is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.097 H 310.2°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#36154A
RGBrgb(54, 21, 74)
HSLhsl(277, 56%, 19%)
HSVhsv(277, 72%, 29%)
CMYKcmyk(27%, 71.6%, 0%, 71%)
CIE-LABlab(14.49, 27.06, -26.27)
CIE-LCHlch(14.49, 37.71, 315.84°)
OKLaboklab(27.46% 0.0626 -0.0741)
OKLCHoklch(27.46% 0.097 310.2)
XYZxyz(3.0253, 1.8151, 6.6682)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36154A #294A15
analogous
#1B154A #36154A #4A1543
triadic
#36154A #4A3615 #154A36
tetradic
#36154A #4A1B15 #294A15 #15434A
square
#36154A #4A1B15 #294A15 #15434A
split-complementary
#36154A #434A15 #154A1B
monochromatic
#110718 #13071A #36154A #59237A #7C30A9

Accessibility & contrast

On white

15.41
#36154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#36154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36154A
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36154A#FFFFFF#000000##FFFFFF
##36154A1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#0E2549
Tritanopia (blue-blind)
#33202D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #36154a;
/* rgb */ color: rgb(54, 21, 74);
/* oklch */ color: oklch(27.5% 0.097 310.2);
Tailwind
colors: {
  custom: {
    50: '#6f557d',
    500: '#36154a',
    950: '#000000',
  },
}
SCSS
$custom: #36154a;
$custom-light: #6f557d;
$custom-dark: #000000;
JSON
{
  "hex": "#36154a",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 277.358,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27456,
    "c": 0.09702,
    "h": 310.2
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#36154A
secondary
#548239
accent
#DF4981
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #36154A

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

Preview Lab → · Contrast checker → · Palette generator →

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