#36167C#36167C

#36167C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.156 H 288.5°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#36167C
RGBrgb(54, 22, 124)
HSLhsl(259, 70%, 29%)
HSVhsv(259, 82%, 49%)
CMYKcmyk(56.5%, 82.3%, 0%, 51.4%)
CIE-LABlab(19.28, 40.68, -51.56)
CIE-LCHlch(19.28, 65.68, 308.28°)
OKLaboklab(32.26% 0.0497 -0.1484)
OKLCHoklch(32.26% 0.156 288.5)
XYZxyz(5.4452, 2.8131, 19.3209)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36167C #5C7C16
analogous
#16297C #36167C #69167C
triadic
#36167C #7C3616 #167C36
tetradic
#36167C #7C1629 #5C7C16 #167C69
square
#36167C #7C1629 #5C7C16 #167C69
split-complementary
#36167C #7C6916 #297C16
monochromatic
#0B051A #1F0D48 #36167C #4D1FB0 #6732DB

Accessibility & contrast

On white

13.44
#36167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36167C
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36167C#FFFFFF#000000##FFFFFF
##36167C1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#193449
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36167c;
/* rgb */ color: rgb(54, 22, 124);
/* oklch */ color: oklch(32.3% 0.156 288.5);
Tailwind
colors: {
  custom: {
    50: '#7658a3',
    500: '#36167c',
    950: '#000000',
  },
}
SCSS
$custom: #36167c;
$custom-light: #7658a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36167c",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 258.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32264,
    "c": 0.15645,
    "h": 288.5
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#36167C
secondary
#8DB13D
accent
#ED3BB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #36167C

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

Preview Lab → · Contrast checker → · Palette generator →

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