#36147F#36147F

#36147F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.162 H 288.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#36147F
RGBrgb(54, 20, 127)
HSLhsl(259, 73%, 29%)
HSVhsv(259, 84%, 50%)
CMYKcmyk(57.5%, 84.3%, 0%, 50.2%)
CIE-LABlab(19.29, 42.44, -53.45)
CIE-LCHlch(19.29, 68.25, 308.45°)
OKLaboklab(32.37% 0.0499 -0.1538)
OKLCHoklch(32.37% 0.162 288)
XYZxyz(5.6011, 2.8166, 20.3231)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36147F #5D7F14
analogous
#14287F #36147F #6C147F
triadic
#36147F #7F3614 #147F36
tetradic
#36147F #7F1428 #5D7F14 #147F6C
square
#36147F #7F1428 #5D7F14 #147F6C
split-complementary
#36147F #7F6C14 #287F14
monochromatic
#0B041A #200C4A #36147F #4C1CB4 #672FDE

Accessibility & contrast

On white

13.43
#36147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36147F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36147F#FFFFFF#000000##FFFFFF
##36147F1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#16344B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36147f;
/* rgb */ color: rgb(54, 20, 127);
/* oklch */ color: oklch(32.4% 0.162 288.0);
Tailwind
colors: {
  custom: {
    50: '#7757a5',
    500: '#36147f',
    950: '#000000',
  },
}
SCSS
$custom: #36147f;
$custom-light: #7757a5;
$custom-dark: #000000;
JSON
{
  "hex": "#36147f",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 259.065,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32371,
    "c": 0.16174,
    "h": 288
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #36147F

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

Preview Lab → · Contrast checker → · Palette generator →

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