#36174B#36174B

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

Color values

HEX#36174B
RGBrgb(54, 23, 75)
HSLhsl(276, 53%, 19%)
HSVhsv(276, 69%, 29%)
CMYKcmyk(28%, 69.3%, 0%, 70.6%)
CIE-LABlab(14.98, 26.17, -26.17)
CIE-LCHlch(14.98, 37.01, 315.00°)
OKLaboklab(27.84% 0.0597 -0.0738)
OKLCHoklch(27.84% 0.095 309)
XYZxyz(3.0975, 1.9051, 6.8598)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36174B #2C4B17
analogous
#1C174B #36174B #4B1746
triadic
#36174B #4B3617 #174B36
tetradic
#36174B #4B1C17 #2C4B17 #17464B
square
#36174B #4B1C17 #2C4B17 #17464B
split-complementary
#36174B #464B17 #174B1C
monochromatic
#110717 #14091C #36174B #58257A #7934A9

Accessibility & contrast

On white

15.21
#36174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36174B
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36174B#FFFFFF#000000##FFFFFF
##36174B1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244D
Deuteranopia (green-blind)
#0F264A
Tritanopia (blue-blind)
#33212E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #36174b;
/* rgb */ color: rgb(54, 23, 75);
/* oklch */ color: oklch(27.8% 0.095 309.0);
Tailwind
colors: {
  custom: {
    50: '#6f567e',
    500: '#36174b',
    950: '#000000',
  },
}
SCSS
$custom: #36174b;
$custom-light: #6f567e;
$custom-dark: #000000;
JSON
{
  "hex": "#36174b",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 275.769,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27838,
    "c": 0.09497,
    "h": 309
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#36174B
secondary
#58823C
accent
#DC4B86
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #36174B

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

Preview Lab → · Contrast checker → · Palette generator →

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