#36174A#36174A

#36174A is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.094 H 309.6°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#36174A
RGBrgb(54, 23, 74)
HSLhsl(276, 53%, 19%)
HSVhsv(276, 69%, 29%)
CMYKcmyk(27%, 68.9%, 0%, 71%)
CIE-LABlab(14.91, 25.90, -25.60)
CIE-LCHlch(14.91, 36.41, 315.34°)
OKLaboklab(27.76% 0.0598 -0.0722)
OKLCHoklch(27.76% 0.094 309.6)
XYZxyz(3.0635, 1.8915, 6.6810)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36174A #2B4A17
analogous
#1D174A #36174A #4A1745
triadic
#36174A #4A3617 #174A36
tetradic
#36174A #4A1D17 #2B4A17 #17454A
square
#36174A #4A1D17 #2B4A17 #17454A
split-complementary
#36174A #454A17 #174A1D
monochromatic
#110717 #14081B #36174A #582679 #7A34A7

Accessibility & contrast

On white

15.24
#36174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#36174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36174A
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36174A#FFFFFF#000000##FFFFFF
##36174A1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02244C
Deuteranopia (green-blind)
#102649
Tritanopia (blue-blind)
#33212E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #36174a;
/* rgb */ color: rgb(54, 23, 74);
/* oklch */ color: oklch(27.8% 0.094 309.6);
Tailwind
colors: {
  custom: {
    50: '#6f567d',
    500: '#36174a',
    950: '#000000',
  },
}
SCSS
$custom: #36174a;
$custom-light: #6f567d;
$custom-dark: #000000;
JSON
{
  "hex": "#36174a",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 276.471,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27761,
    "c": 0.09369,
    "h": 309.6
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#36174A
secondary
#57813C
accent
#DC4C84
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #36174A

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

Preview Lab → · Contrast checker → · Palette generator →

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