#36177E#36177E

#36177E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.158 H 287.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#36177E
RGBrgb(54, 23, 126)
HSLhsl(258, 69%, 29%)
HSVhsv(258, 82%, 49%)
CMYKcmyk(57.1%, 81.7%, 0%, 50.6%)
CIE-LABlab(19.65, 40.80, -52.22)
CIE-LCHlch(19.65, 66.27, 308.00°)
OKLaboklab(32.59% 0.0483 -0.1503)
OKLCHoklch(32.59% 0.158 287.8)
XYZxyz(5.5925, 2.9031, 20.0003)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36177E #5F7E17
analogous
#172C7E #36177E #6A177E
triadic
#36177E #7E3617 #177E36
tetradic
#36177E #7E172C #5F7E17 #177E6A
square
#36177E #7E172C #5F7E17 #177E6A
split-complementary
#36177E #7E6A17 #2C7E17
monochromatic
#0B051A #200E4A #36177E #4C20B2 #6735DA

Accessibility & contrast

On white

13.29
#36177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36177E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36177E#FFFFFF#000000##FFFFFF
##36177E1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#17354B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #36177e;
/* rgb */ color: rgb(54, 23, 126);
/* oklch */ color: oklch(32.6% 0.158 287.8);
Tailwind
colors: {
  custom: {
    50: '#7659a4',
    500: '#36177e',
    950: '#000000',
  },
}
SCSS
$custom: #36177e;
$custom-light: #7659a4;
$custom-dark: #000000;
JSON
{
  "hex": "#36177e",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 258.058,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32586,
    "c": 0.15786,
    "h": 287.8
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#36177E
secondary
#90B33E
accent
#EC3CB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36177E

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

Preview Lab → · Contrast checker → · Palette generator →

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