#36157A#36157A

#36157A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.155 H 289.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#36157A
RGBrgb(54, 21, 122)
HSLhsl(260, 71%, 28%)
HSVhsv(260, 83%, 48%)
CMYKcmyk(55.7%, 82.8%, 0%, 52.2%)
CIE-LABlab(18.91, 40.57, -50.89)
CIE-LCHlch(18.91, 65.08, 308.56°)
OKLaboklab(31.94% 0.0511 -0.1464)
OKLCHoklch(31.94% 0.155 289.2)
XYZxyz(5.3013, 2.7255, 18.6553)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36157A #597A15
analogous
#15267A #36157A #68157A
triadic
#36157A #7A3615 #157A36
tetradic
#36157A #7A1526 #597A15 #157A68
square
#36157A #7A1526 #597A15 #157A68
split-complementary
#36157A #7A6815 #267A15
monochromatic
#0C041A #1F0C46 #36157A #4D1EAE #672EDB

Accessibility & contrast

On white

13.59
#36157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#36157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36157A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36157A#FFFFFF#000000##FFFFFF
##36157A1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#1B3348
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #36157a;
/* rgb */ color: rgb(54, 21, 122);
/* oklch */ color: oklch(31.9% 0.155 289.2);
Tailwind
colors: {
  custom: {
    50: '#7657a1',
    500: '#36157a',
    950: '#000000',
  },
}
SCSS
$custom: #36157a;
$custom-light: #7657a1;
$custom-dark: #000000;
JSON
{
  "hex": "#36157a",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 259.604,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31944,
    "c": 0.15504,
    "h": 289.2
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#36157A
secondary
#8AAF3B
accent
#ED3AB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #36157A

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

Preview Lab → · Contrast checker → · Palette generator →

#36157A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva