#36168F#36168F

#36168F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.178 H 283.9°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#36168F
RGBrgb(54, 22, 143)
HSLhsl(256, 73%, 32%)
HSVhsv(256, 85%, 56%)
CMYKcmyk(62.2%, 84.6%, 0%, 43.9%)
CIE-LABlab(21.36, 46.17, -60.09)
CIE-LCHlch(21.36, 75.78, 307.54°)
OKLaboklab(34.32% 0.0429 -0.1732)
OKLCHoklch(34.32% 0.178 283.9)
XYZxyz(6.7646, 3.3408, 26.2696)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36168F #6F8F16
analogous
#16328F #36168F #73168F
triadic
#36168F #8F3616 #168F36
tetradic
#36168F #8F1632 #6F8F16 #168F73
square
#36168F #8F1632 #6F8F16 #168F73
split-complementary
#36168F #8F7316 #328F16
monochromatic
#0E0625 #220E5A #36168F #4A1EC4 #693EE1

Accessibility & contrast

On white

12.59
#36168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#36168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36168F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36168F#FFFFFF#000000##FFFFFF
##36168F1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36168f;
/* rgb */ color: rgb(54, 22, 143);
/* oklch */ color: oklch(34.3% 0.178 283.9);
Tailwind
colors: {
  custom: {
    50: '#7a59b1',
    500: '#36168f',
    950: '#000000',
  },
}
SCSS
$custom: #36168f;
$custom-light: #7a59b1;
$custom-dark: #000000;
JSON
{
  "hex": "#36168f",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 255.868,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3432,
    "c": 0.17848,
    "h": 283.9
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#36168F
secondary
#9FC13F
accent
#F038BF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #36168F

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

Preview Lab → · Contrast checker → · Palette generator →

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