#36174F#36174F

#36174F is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.2% C 0.100 H 306.5°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#36174F
RGBrgb(54, 23, 79)
HSLhsl(273, 55%, 20%)
HSVhsv(273, 71%, 31%)
CMYKcmyk(31.6%, 70.9%, 0%, 69%)
CIE-LABlab(15.28, 27.25, -28.42)
CIE-LCHlch(15.28, 39.38, 313.80°)
OKLaboklab(28.15% 0.0595 -0.0805)
OKLCHoklch(28.15% 0.1 306.5)
XYZxyz(3.2387, 1.9616, 7.6036)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36174F #304F17
analogous
#1A174F #36174F #4F174C
triadic
#36174F #4F3617 #174F36
tetradic
#36174F #4F1A17 #304F17 #174C4F
square
#36174F #4F1A17 #304F17 #174C4F
split-complementary
#36174F #4C4F17 #174F1A
monochromatic
#100718 #160920 #36174F #56257E #7733AE

Accessibility & contrast

On white

15.08
#36174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36174F
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36174F#FFFFFF#000000##FFFFFF
##36174F1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#0A264E
Tritanopia (blue-blind)
#322330
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #36174f;
/* rgb */ color: rgb(54, 23, 79);
/* oklch */ color: oklch(28.2% 0.100 306.5);
Tailwind
colors: {
  custom: {
    50: '#705681',
    500: '#36174f',
    950: '#000000',
  },
}
SCSS
$custom: #36174f;
$custom-light: #705681;
$custom-dark: #000000;
JSON
{
  "hex": "#36174f",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 273.214,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.28154,
    "c": 0.10005,
    "h": 306.5
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#36174F
secondary
#5D863C
accent
#DE4A8C
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #36174F

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

Preview Lab → · Contrast checker → · Palette generator →

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