#36159E#36159E

#36159E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.196 H 281.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#36159E
RGBrgb(54, 21, 158)
HSLhsl(254, 77%, 35%)
HSVhsv(254, 87%, 62%)
CMYKcmyk(65.8%, 86.7%, 0%, 38%)
CIE-LABlab(22.96, 50.82, -66.70)
CIE-LCHlch(22.96, 83.85, 307.30°)
OKLaboklab(35.92% 0.0378 -0.1924)
OKLCHoklch(35.92% 0.196 281.1)
XYZxyz(7.9591, 3.7886, 32.6530)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36159E #7D9E15
analogous
#15389E #36159E #7B159E
triadic
#36159E #9E3615 #159E36
tetradic
#36159E #9E1538 #7D9E15 #159E7B
square
#36159E #9E1538 #7D9E15 #159E7B
split-complementary
#36159E #9E7B15 #389E15
monochromatic
#110732 #240E68 #36159E #481CD4 #6D47E7

Accessibility & contrast

On white

11.95
#36159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#36159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36159E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36159E#FFFFFF#000000##FFFFFF
##36159E1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #36159e;
/* rgb */ color: rgb(54, 21, 158);
/* oklch */ color: oklch(35.9% 0.196 281.1);
Tailwind
colors: {
  custom: {
    50: '#7d5abc',
    500: '#36159e',
    950: '#000000',
  },
}
SCSS
$custom: #36159e;
$custom-light: #7d5abc;
$custom-dark: #000000;
JSON
{
  "hex": "#36159e",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 254.453,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35922,
    "c": 0.19613,
    "h": 281.1
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#36159E
secondary
#A9C747
accent
#F335C5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #36159E

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

Preview Lab → · Contrast checker → · Palette generator →

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