#36165D#36165D

#36165D is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.2% C 0.119 H 299.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#36165D
RGBrgb(54, 22, 93)
HSLhsl(267, 62%, 23%)
HSVhsv(267, 76%, 36%)
CMYKcmyk(41.9%, 76.3%, 0%, 63.5%)
CIE-LABlab(16.25, 31.72, -36.32)
CIE-LCHlch(16.25, 48.22, 311.14°)
OKLaboklab(29.21% 0.0586 -0.1037)
OKLCHoklch(29.21% 0.119 299.5)
XYZxyz(3.7835, 2.1484, 10.5691)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36165D #3D5D16
analogous
#161A5D #36165D #59165D
triadic
#36165D #5D3616 #165D36
tetradic
#36165D #5D161A #3D5D16 #165D59
square
#36165D #5D161A #3D5D16 #165D59
split-complementary
#36165D #5D5916 #1A5D16
monochromatic
#0E0619 #190A2C #36165D #53228E #6F2DC0

Accessibility & contrast

On white

14.69
#36165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36165D
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36165D#FFFFFF#000000##FFFFFF
##36165D1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#2D2738
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36165d;
/* rgb */ color: rgb(54, 22, 93);
/* oklch */ color: oklch(29.2% 0.119 299.5);
Tailwind
colors: {
  custom: {
    50: '#71568c',
    500: '#36165d',
    950: '#000000',
  },
}
SCSS
$custom: #36165d;
$custom-light: #71568c;
$custom-dark: #000000;
JSON
{
  "hex": "#36165d",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 267.042,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2921,
    "c": 0.11907,
    "h": 299.5
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#36165D
secondary
#6C943B
accent
#E5439C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36165D

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

Preview Lab → · Contrast checker → · Palette generator →

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