#36154C#36154C

#36154C is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.099 H 308.9°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#36154C
RGBrgb(54, 21, 76)
HSLhsl(276, 57%, 19%)
HSVhsv(276, 72%, 30%)
CMYKcmyk(28.9%, 72.4%, 0%, 70.2%)
CIE-LABlab(14.64, 27.58, -27.41)
CIE-LCHlch(14.64, 38.88, 315.18°)
OKLaboklab(27.61% 0.0624 -0.0775)
OKLCHoklch(27.61% 0.099 308.9)
XYZxyz(3.0937, 1.8425, 7.0287)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36154C #2B4C15
analogous
#1B154C #36154C #4C1547
triadic
#36154C #4C3615 #154C36
tetradic
#36154C #4C1B15 #2B4C15 #15474C
square
#36154C #4C1B15 #2B4C15 #15474C
split-complementary
#36154C #474C15 #154C1B
monochromatic
#110718 #14081C #36154C #58227C #7A2FAC

Accessibility & contrast

On white

15.35
#36154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36154C
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36154C#FFFFFF#000000##FFFFFF
##36154C1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#0C254B
Tritanopia (blue-blind)
#33202E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #36154c;
/* rgb */ color: rgb(54, 21, 76);
/* oklch */ color: oklch(27.6% 0.099 308.9);
Tailwind
colors: {
  custom: {
    50: '#6f557e',
    500: '#36154c',
    950: '#000000',
  },
}
SCSS
$custom: #36154c;
$custom-light: #6f557e;
$custom-dark: #000000;
JSON
{
  "hex": "#36154c",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 276,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27614,
    "c": 0.09949,
    "h": 308.9
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#36154C
secondary
#578439
accent
#E04885
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #36154C

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

Preview Lab → · Contrast checker → · Palette generator →

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