#36177B#36177B

#36177B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.154 H 288.6°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#36177B
RGBrgb(54, 23, 123)
HSLhsl(259, 68%, 29%)
HSVhsv(259, 81%, 48%)
CMYKcmyk(56.1%, 81.3%, 0%, 51.8%)
CIE-LABlab(19.34, 39.92, -50.83)
CIE-LCHlch(19.34, 64.63, 308.15°)
OKLaboklab(32.27% 0.0493 -0.1462)
OKLCHoklch(32.27% 0.154 288.6)
XYZxyz(5.4018, 2.8269, 18.9961)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36177B #5C7B17
analogous
#172A7B #36177B #68177B
triadic
#36177B #7B3617 #177B36
tetradic
#36177B #7B172A #5C7B17 #177B68
square
#36177B #7B172A #5C7B17 #177B68
split-complementary
#36177B #7B6817 #2A7B17
monochromatic
#0B051A #1F0D47 #36177B #4D21AF #6733D9

Accessibility & contrast

On white

13.42
#36177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#36177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36177B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36177B#FFFFFF#000000##FFFFFF
##36177B1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#1A3449
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36177b;
/* rgb */ color: rgb(54, 23, 123);
/* oklch */ color: oklch(32.3% 0.154 288.6);
Tailwind
colors: {
  custom: {
    50: '#7658a2',
    500: '#36177b',
    950: '#000000',
  },
}
SCSS
$custom: #36177b;
$custom-light: #7658a2;
$custom-dark: #000000;
JSON
{
  "hex": "#36177b",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 258.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32272,
    "c": 0.15431,
    "h": 288.6
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#36177B
secondary
#8DB03E
accent
#EB3CB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36177B

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

Preview Lab → · Contrast checker → · Palette generator →

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