#36167D#36167D

#36167D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.158 H 288.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#36167D
RGBrgb(54, 22, 125)
HSLhsl(259, 70%, 29%)
HSVhsv(259, 82%, 49%)
CMYKcmyk(56.8%, 82.4%, 0%, 51%)
CIE-LABlab(19.39, 40.98, -52.02)
CIE-LCHlch(19.39, 66.22, 308.22°)
OKLaboklab(32.37% 0.0493 -0.1497)
OKLCHoklch(32.37% 0.158 288.2)
XYZxyz(5.5088, 2.8385, 19.6557)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36167D #5D7D16
analogous
#162A7D #36167D #6A167D
triadic
#36167D #7D3616 #167D36
tetradic
#36167D #7D162A #5D7D16 #167D6A
square
#36167D #7D162A #5D7D16 #167D6A
split-complementary
#36167D #7D6A16 #2A7D16
monochromatic
#0B051A #200D49 #36167D #4C1FB1 #6732DB

Accessibility & contrast

On white

13.39
#36167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#36167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36167D
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36167D#FFFFFF#000000##FFFFFF
##36167D1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#18344A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36167d;
/* rgb */ color: rgb(54, 22, 125);
/* oklch */ color: oklch(32.4% 0.158 288.2);
Tailwind
colors: {
  custom: {
    50: '#7658a4',
    500: '#36167d',
    950: '#000000',
  },
}
SCSS
$custom: #36167d;
$custom-light: #7658a4;
$custom-dark: #000000;
JSON
{
  "hex": "#36167d",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 258.641,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32369,
    "c": 0.15762,
    "h": 288.2
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#36167D
secondary
#8EB23D
accent
#ED3BB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36167D

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

Preview Lab → · Contrast checker → · Palette generator →

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