#36165C#36165C

#36165C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.118 H 299.9°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#36165C
RGBrgb(54, 22, 92)
HSLhsl(267, 61%, 22%)
HSVhsv(267, 76%, 36%)
CMYKcmyk(41.3%, 76.1%, 0%, 63.9%)
CIE-LABlab(16.16, 31.44, -35.79)
CIE-LCHlch(16.16, 47.64, 311.30°)
OKLaboklab(29.12% 0.0588 -0.1021)
OKLCHoklch(29.12% 0.118 299.9)
XYZxyz(3.7395, 2.1308, 10.3374)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36165C #3C5C16
analogous
#16195C #36165C #59165C
triadic
#36165C #5C3616 #165C36
tetradic
#36165C #5C1619 #3C5C16 #165C59
square
#36165C #5C1619 #3C5C16 #165C59
split-complementary
#36165C #5C5916 #195C16
monochromatic
#0E0619 #190A2B #36165C #53228D #702EBF

Accessibility & contrast

On white

14.72
#36165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36165C
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36165C#FFFFFF#000000##FFFFFF
##36165C1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#2D2737
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36165c;
/* rgb */ color: rgb(54, 22, 92);
/* oklch */ color: oklch(29.1% 0.118 299.9);
Tailwind
colors: {
  custom: {
    50: '#71568b',
    500: '#36165c',
    950: '#000000',
  },
}
SCSS
$custom: #36165c;
$custom-light: #71568b;
$custom-dark: #000000;
JSON
{
  "hex": "#36165c",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 267.429,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2912,
    "c": 0.11784,
    "h": 299.9
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#36165C
secondary
#6B933B
accent
#E5439B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36165C

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

Preview Lab → · Contrast checker → · Palette generator →

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