#36167E#36167E

#36167E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.159 H 288.0°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#36167E
RGBrgb(54, 22, 126)
HSLhsl(258, 70%, 29%)
HSVhsv(258, 83%, 49%)
CMYKcmyk(57.1%, 82.5%, 0%, 50.6%)
CIE-LABlab(19.49, 41.27, -52.49)
CIE-LCHlch(19.49, 66.76, 308.18°)
OKLaboklab(32.48% 0.049 -0.1511)
OKLCHoklch(32.48% 0.159 288)
XYZxyz(5.5730, 2.8642, 19.9938)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36167E #5E7E16
analogous
#162A7E #36167E #6A167E
triadic
#36167E #7E3616 #167E36
tetradic
#36167E #7E162A #5E7E16 #167E6A
square
#36167E #7E162A #5E7E16 #167E6A
split-complementary
#36167E #7E6A16 #2A7E16
monochromatic
#0B051A #200D4A #36167E #4C1FB2 #6733DB

Accessibility & contrast

On white

13.35
#36167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36167E
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36167E#FFFFFF#000000##FFFFFF
##36167E1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#17354A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36167e;
/* rgb */ color: rgb(54, 22, 126);
/* oklch */ color: oklch(32.5% 0.159 288.0);
Tailwind
colors: {
  custom: {
    50: '#7658a4',
    500: '#36167e',
    950: '#000000',
  },
}
SCSS
$custom: #36167e;
$custom-light: #7658a4;
$custom-dark: #000000;
JSON
{
  "hex": "#36167e",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 258.462,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32475,
    "c": 0.1588,
    "h": 288
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36167E

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

Preview Lab → · Contrast checker → · Palette generator →

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