#36173E#36173E

#36173E is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.079 H 319.0°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#36173E
RGBrgb(54, 23, 62)
HSLhsl(288, 46%, 17%)
HSVhsv(288, 63%, 24%)
CMYKcmyk(12.9%, 62.9%, 0%, 75.7%)
CIE-LABlab(14.09, 22.82, -18.54)
CIE-LCHlch(14.09, 29.40, 320.91°)
OKLaboklab(26.9% 0.0594 -0.0515)
OKLCHoklch(26.9% 0.079 319)
XYZxyz(2.6971, 1.7450, 4.7512)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36173E #1F3E17
analogous
#23173E #36173E #3E1733
triadic
#36173E #3E3617 #173E36
tetradic
#36173E #3E2317 #1F3E17 #17333E
square
#36173E #3E2317 #1F3E17 #17333E
split-complementary
#36173E #333E17 #173E23
monochromatic
#130816 #130816 #36173E #5D286B #843897

Accessibility & contrast

On white

15.57
#36173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#36173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36173E
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36173E#FFFFFF#000000##FFFFFF
##36173E1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F223F
Deuteranopia (green-blind)
#19253D
Tritanopia (blue-blind)
#361D27
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #36173e;
/* rgb */ color: rgb(54, 23, 62);
/* oklch */ color: oklch(26.9% 0.079 319.0);
Tailwind
colors: {
  custom: {
    50: '#6e5673',
    500: '#36173e',
    950: '#000000',
  },
}
SCSS
$custom: #36173e;
$custom-light: #6e5673;
$custom-dark: #000000;
JSON
{
  "hex": "#36173e",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 287.692,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26898,
    "c": 0.07863,
    "h": 319
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#36173E
secondary
#48753C
accent
#D6526D
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #36173E

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

Preview Lab → · Contrast checker → · Palette generator →

#36173E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva