#36177D#36177D

#36177D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.157 H 288.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#36177D
RGBrgb(54, 23, 125)
HSLhsl(258, 69%, 29%)
HSVhsv(258, 82%, 49%)
CMYKcmyk(56.8%, 81.6%, 0%, 51%)
CIE-LABlab(19.55, 40.51, -51.76)
CIE-LCHlch(19.55, 65.73, 308.05°)
OKLaboklab(32.48% 0.0486 -0.1489)
OKLCHoklch(32.48% 0.157 288.1)
XYZxyz(5.5283, 2.8774, 19.6622)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36177D #5E7D17
analogous
#172B7D #36177D #69177D
triadic
#36177D #7D3617 #177D36
tetradic
#36177D #7D172B #5E7D17 #177D69
square
#36177D #7D172B #5E7D17 #177D69
split-complementary
#36177D #7D6917 #2B7D17
monochromatic
#0B051A #200D49 #36177D #4C21B1 #6735DA

Accessibility & contrast

On white

13.33
#36177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#36177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36177D
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36177D#FFFFFF#000000##FFFFFF
##36177D1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#18354A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36177d;
/* rgb */ color: rgb(54, 23, 125);
/* oklch */ color: oklch(32.5% 0.157 288.1);
Tailwind
colors: {
  custom: {
    50: '#7659a4',
    500: '#36177d',
    950: '#000000',
  },
}
SCSS
$custom: #36177d;
$custom-light: #7659a4;
$custom-dark: #000000;
JSON
{
  "hex": "#36177d",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 258.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32481,
    "c": 0.15667,
    "h": 288.1
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#36177D
secondary
#8FB23E
accent
#EC3CB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36177D

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

Preview Lab → · Contrast checker → · Palette generator →

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