#36177A#36177A

#36177A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.153 H 288.9°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#36177A
RGBrgb(54, 23, 122)
HSLhsl(259, 68%, 28%)
HSVhsv(259, 81%, 48%)
CMYKcmyk(55.7%, 81.1%, 0%, 52.2%)
CIE-LABlab(19.23, 39.63, -50.36)
CIE-LCHlch(19.23, 64.09, 308.20°)
OKLaboklab(32.17% 0.0496 -0.1449)
OKLCHoklch(32.17% 0.153 288.9)
XYZxyz(5.3395, 2.8019, 18.6681)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36177A #5B7A17
analogous
#17297A #36177A #67177A
triadic
#36177A #7A3617 #177A36
tetradic
#36177A #7A1729 #5B7A17 #177A67
square
#36177A #7A1729 #5B7A17 #177A67
split-complementary
#36177A #7A6717 #297A17
monochromatic
#0B051A #1F0D47 #36177A #4D21AD #6733D9

Accessibility & contrast

On white

13.46
#36177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#36177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36177A
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36177A#FFFFFF#000000##FFFFFF
##36177A1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#1B3448
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36177a;
/* rgb */ color: rgb(54, 23, 122);
/* oklch */ color: oklch(32.2% 0.153 288.9);
Tailwind
colors: {
  custom: {
    50: '#7658a1',
    500: '#36177a',
    950: '#000000',
  },
}
SCSS
$custom: #36177a;
$custom-light: #7658a1;
$custom-dark: #000000;
JSON
{
  "hex": "#36177a",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 258.788,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32169,
    "c": 0.15311,
    "h": 288.9
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#36177A
secondary
#8CAF3E
accent
#EB3DB5
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36177A

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

Preview Lab → · Contrast checker → · Palette generator →

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