#36147E#36147E

#36147E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.161 H 288.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#36147E
RGBrgb(54, 20, 126)
HSLhsl(259, 73%, 29%)
HSVhsv(259, 84%, 49%)
CMYKcmyk(57.1%, 84.1%, 0%, 50.6%)
CIE-LABlab(19.19, 42.16, -52.99)
CIE-LCHlch(19.19, 67.71, 308.51°)
OKLaboklab(32.26% 0.0503 -0.1525)
OKLCHoklch(32.26% 0.161 288.3)
XYZxyz(5.5363, 2.7907, 19.9815)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36147E #5C7E14
analogous
#14277E #36147E #6B147E
triadic
#36147E #7E3614 #147E36
tetradic
#36147E #7E1427 #5C7E14 #147E6B
square
#36147E #7E1427 #5C7E14 #147E6B
split-complementary
#36147E #7E6B14 #277E14
monochromatic
#0B041A #1F0C49 #36147E #4D1CB3 #672EDE

Accessibility & contrast

On white

13.48
#36147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#36147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36147E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36147E#FFFFFF#000000##FFFFFF
##36147E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#17344A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36147e;
/* rgb */ color: rgb(54, 20, 126);
/* oklch */ color: oklch(32.3% 0.161 288.3);
Tailwind
colors: {
  custom: {
    50: '#7757a4',
    500: '#36147e',
    950: '#000000',
  },
}
SCSS
$custom: #36147e;
$custom-light: #7757a4;
$custom-dark: #000000;
JSON
{
  "hex": "#36147e",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 259.245,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32263,
    "c": 0.16059,
    "h": 288.3
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#36147E
secondary
#8DB33A
accent
#EF38B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #36147E

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

Preview Lab → · Contrast checker → · Palette generator →

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