#36174C#36174C

#36174C is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.096 H 308.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#36174C
RGBrgb(54, 23, 76)
HSLhsl(275, 54%, 19%)
HSVhsv(275, 70%, 30%)
CMYKcmyk(28.9%, 69.7%, 0%, 70.2%)
CIE-LABlab(15.06, 26.44, -26.73)
CIE-LCHlch(15.06, 37.60, 314.68°)
OKLaboklab(27.92% 0.0597 -0.0755)
OKLCHoklch(27.92% 0.096 308.3)
XYZxyz(3.1320, 1.9189, 7.0415)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36174C #2D4C17
analogous
#1C174C #36174C #4C1748
triadic
#36174C #4C3617 #174C36
tetradic
#36174C #4C1C17 #2D4C17 #17484C
square
#36174C #4C1C17 #2D4C17 #17484C
split-complementary
#36174C #484C17 #174C1C
monochromatic
#110717 #15091D #36174C #57257B #7933AA

Accessibility & contrast

On white

15.18
#36174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36174C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36174C#FFFFFF#000000##FFFFFF
##36174C1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254E
Deuteranopia (green-blind)
#0E264B
Tritanopia (blue-blind)
#33222F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #36174c;
/* rgb */ color: rgb(54, 23, 76);
/* oklch */ color: oklch(27.9% 0.096 308.3);
Tailwind
colors: {
  custom: {
    50: '#6f567e',
    500: '#36174c',
    950: '#000000',
  },
}
SCSS
$custom: #36174c;
$custom-light: #6f567e;
$custom-dark: #000000;
JSON
{
  "hex": "#36174c",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 275.094,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27916,
    "c": 0.09623,
    "h": 308.3
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#36174C
secondary
#59833C
accent
#DD4B88
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #36174C

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

Preview Lab → · Contrast checker → · Palette generator →

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