#36167B#36167B

#36167B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.155 H 288.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#36167B
RGBrgb(54, 22, 123)
HSLhsl(259, 70%, 28%)
HSVhsv(259, 82%, 48%)
CMYKcmyk(56.1%, 82.1%, 0%, 51.8%)
CIE-LABlab(19.17, 40.39, -51.10)
CIE-LCHlch(19.17, 65.14, 308.33°)
OKLaboklab(32.16% 0.05 -0.147)
OKLCHoklch(32.16% 0.155 288.8)
XYZxyz(5.3823, 2.7879, 18.9896)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36167B #5B7B16
analogous
#16287B #36167B #68167B
triadic
#36167B #7B3616 #167B36
tetradic
#36167B #7B1628 #5B7B16 #167B68
square
#36167B #7B1628 #5B7B16 #167B68
split-complementary
#36167B #7B6816 #287B16
monochromatic
#0B051A #1F0D47 #36167B #4D1FAF #6731DA

Accessibility & contrast

On white

13.48
#36167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#36167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36167B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36167B#FFFFFF#000000##FFFFFF
##36167B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.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: #36167b;
/* rgb */ color: rgb(54, 22, 123);
/* oklch */ color: oklch(32.2% 0.155 288.8);
Tailwind
colors: {
  custom: {
    50: '#7658a2',
    500: '#36167b',
    950: '#000000',
  },
}
SCSS
$custom: #36167b;
$custom-light: #7658a2;
$custom-dark: #000000;
JSON
{
  "hex": "#36167b",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 259.01,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.15527,
    "h": 288.8
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#36167B
secondary
#8CB03D
accent
#EC3BB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #36167B

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

Preview Lab → · Contrast checker → · Palette generator →

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