#36168E#36168E

#36168E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.177 H 284.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#36168E
RGBrgb(54, 22, 142)
HSLhsl(256, 73%, 32%)
HSVhsv(256, 85%, 56%)
CMYKcmyk(62%, 84.5%, 0%, 44.3%)
CIE-LABlab(21.25, 45.89, -59.66)
CIE-LCHlch(21.25, 75.26, 307.57°)
OKLaboklab(34.21% 0.0433 -0.172)
OKLCHoklch(34.21% 0.177 284.1)
XYZxyz(6.6892, 3.3106, 25.8725)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36168E #6E8E16
analogous
#16328E #36168E #72168E
triadic
#36168E #8E3616 #168E36
tetradic
#36168E #8E1632 #6E8E16 #168E72
square
#36168E #8E1632 #6E8E16 #168E72
split-complementary
#36168E #8E7216 #328E16
monochromatic
#0E0624 #220E59 #36168E #4A1EC3 #693DE1

Accessibility & contrast

On white

12.63
#36168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#36168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36168E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36168E#FFFFFF#000000##FFFFFF
##36168E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #36168e;
/* rgb */ color: rgb(54, 22, 142);
/* oklch */ color: oklch(34.2% 0.177 284.1);
Tailwind
colors: {
  custom: {
    50: '#7a59b0',
    500: '#36168e',
    950: '#000000',
  },
}
SCSS
$custom: #36168e;
$custom-light: #7a59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#36168e",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 256,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34209,
    "c": 0.17734,
    "h": 284.1
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#36168E
secondary
#9EC13F
accent
#F038BF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #36168E

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

Preview Lab → · Contrast checker → · Palette generator →

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