#36174D#36174D

#36174D is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.098 H 307.7°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#36174D
RGBrgb(54, 23, 77)
HSLhsl(274, 54%, 20%)
HSVhsv(274, 70%, 30%)
CMYKcmyk(29.9%, 70.1%, 0%, 69.8%)
CIE-LABlab(15.13, 26.71, -27.30)
CIE-LCHlch(15.13, 38.19, 314.37°)
OKLaboklab(27.99% 0.0596 -0.0772)
OKLCHoklch(27.99% 0.098 307.7)
XYZxyz(3.1670, 1.9329, 7.2260)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36174D #2E4D17
analogous
#1B174D #36174D #4D1749
triadic
#36174D #4D3617 #174D36
tetradic
#36174D #4D1B17 #2E4D17 #17494D
square
#36174D #4D1B17 #2E4D17 #17494D
split-complementary
#36174D #494D17 #174D1B
monochromatic
#110718 #15091E #36174D #57257C #7833AB

Accessibility & contrast

On white

15.14
#36174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#36174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36174D
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36174D#FFFFFF#000000##FFFFFF
##36174D1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#0D264C
Tritanopia (blue-blind)
#32222F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #36174d;
/* rgb */ color: rgb(54, 23, 77);
/* oklch */ color: oklch(28.0% 0.098 307.7);
Tailwind
colors: {
  custom: {
    50: '#6f567f',
    500: '#36174d',
    950: '#000000',
  },
}
SCSS
$custom: #36174d;
$custom-light: #6f567f;
$custom-dark: #000000;
JSON
{
  "hex": "#36174d",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 274.444,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27995,
    "c": 0.0975,
    "h": 307.7
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#36174D
secondary
#5B843C
accent
#DD4A89
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #36174D

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

Preview Lab → · Contrast checker → · Palette generator →

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