#36165E#36165E

#36165E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.120 H 299.0°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#36165E
RGBrgb(54, 22, 94)
HSLhsl(267, 62%, 23%)
HSVhsv(267, 77%, 37%)
CMYKcmyk(42.6%, 76.6%, 0%, 63.1%)
CIE-LABlab(16.34, 32.01, -36.84)
CIE-LCHlch(16.34, 48.80, 310.99°)
OKLaboklab(29.3% 0.0584 -0.1052)
OKLCHoklch(29.3% 0.12 299)
XYZxyz(3.8281, 2.1662, 10.8039)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36165E #3E5E16
analogous
#161A5E #36165E #5A165E
triadic
#36165E #5E3616 #165E36
tetradic
#36165E #5E161A #3E5E16 #165E5A
square
#36165E #5E161A #3E5E16 #165E5A
split-complementary
#36165E #5E5A16 #1A5E16
monochromatic
#0E0619 #1A0A2C #36165E #522290 #6F2DC1

Accessibility & contrast

On white

14.65
#36165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#36165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36165E
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36165E#FFFFFF#000000##FFFFFF
##36165E1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#2C2838
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36165e;
/* rgb */ color: rgb(54, 22, 94);
/* oklch */ color: oklch(29.3% 0.120 299.0);
Tailwind
colors: {
  custom: {
    50: '#71568c',
    500: '#36165e',
    950: '#000000',
  },
}
SCSS
$custom: #36165e;
$custom-light: #71568c;
$custom-dark: #000000;
JSON
{
  "hex": "#36165e",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 266.667,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29301,
    "c": 0.1203,
    "h": 299
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#36165E
secondary
#6D953B
accent
#E5439D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36165E

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

Preview Lab → · Contrast checker → · Palette generator →

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