#36165B#36165B

#36165B is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.117 H 300.4°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#36165B
RGBrgb(54, 22, 91)
HSLhsl(268, 61%, 22%)
HSVhsv(268, 76%, 36%)
CMYKcmyk(40.7%, 75.8%, 0%, 64.3%)
CIE-LABlab(16.07, 31.16, -35.27)
CIE-LCHlch(16.07, 47.06, 311.46°)
OKLaboklab(29.03% 0.059 -0.1006)
OKLCHoklch(29.03% 0.117 300.4)
XYZxyz(3.6961, 2.1134, 10.1087)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36165B #3B5B16
analogous
#16195B #36165B #59165B
triadic
#36165B #5B3616 #165B36
tetradic
#36165B #5B1619 #3B5B16 #165B59
square
#36165B #5B1619 #3B5B16 #165B59
split-complementary
#36165B #5B5916 #195B16
monochromatic
#0F0619 #190A2A #36165B #53228C #702EBE

Accessibility & contrast

On white

14.76
#36165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#36165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36165B
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36165B#FFFFFF#000000##FFFFFF
##36165B1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#2E2736
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36165b;
/* rgb */ color: rgb(54, 22, 91);
/* oklch */ color: oklch(29.0% 0.117 300.4);
Tailwind
colors: {
  custom: {
    50: '#71568a',
    500: '#36165b',
    950: '#000000',
  },
}
SCSS
$custom: #36165b;
$custom-light: #71568a;
$custom-dark: #000000;
JSON
{
  "hex": "#36165b",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 267.826,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2903,
    "c": 0.1166,
    "h": 300.4
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#36165B
secondary
#6A923B
accent
#E4449A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36165B

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

Preview Lab → · Contrast checker → · Palette generator →

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