#36167F#36167F

#36167F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.160 H 287.7°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#36167F
RGBrgb(54, 22, 127)
HSLhsl(258, 70%, 29%)
HSVhsv(258, 83%, 50%)
CMYKcmyk(57.5%, 82.7%, 0%, 50.2%)
CIE-LABlab(19.60, 41.56, -52.94)
CIE-LCHlch(19.60, 67.31, 308.13°)
OKLaboklab(32.58% 0.0486 -0.1524)
OKLCHoklch(32.58% 0.16 287.7)
XYZxyz(5.6379, 2.8901, 20.3353)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36167F #5F7F16
analogous
#162A7F #36167F #6B167F
triadic
#36167F #7F3616 #167F36
tetradic
#36167F #7F162A #5F7F16 #167F6B
square
#36167F #7F162A #5F7F16 #167F6B
split-complementary
#36167F #7F6B16 #2A7F16
monochromatic
#0B051A #200D4B #36167F #4C1FB3 #6734DC

Accessibility & contrast

On white

13.31
#36167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#36167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36167F
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36167F#FFFFFF#000000##FFFFFF
##36167F1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#15354B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36167f;
/* rgb */ color: rgb(54, 22, 127);
/* oklch */ color: oklch(32.6% 0.160 287.7);
Tailwind
colors: {
  custom: {
    50: '#7758a5',
    500: '#36167f',
    950: '#000000',
  },
}
SCSS
$custom: #36167f;
$custom-light: #7758a5;
$custom-dark: #000000;
JSON
{
  "hex": "#36167f",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 258.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32581,
    "c": 0.15997,
    "h": 287.7
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#36167F
secondary
#90B43D
accent
#ED3BB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #36167F

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

Preview Lab → · Contrast checker → · Palette generator →

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