#36197A#36197A

#36197A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.151 H 288.5°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#36197A
RGBrgb(54, 25, 122)
HSLhsl(258, 66%, 29%)
HSVhsv(258, 80%, 48%)
CMYKcmyk(55.7%, 79.5%, 0%, 52.2%)
CIE-LABlab(19.57, 38.65, -49.80)
CIE-LCHlch(19.57, 63.04, 307.81°)
OKLaboklab(32.41% 0.0481 -0.1432)
OKLCHoklch(32.41% 0.151 288.5)
XYZxyz(5.3808, 2.8844, 18.6818)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36197A #5D7A19
analogous
#192D7A #36197A #67197A
triadic
#36197A #7A3619 #197A36
tetradic
#36197A #7A192D #5D7A19 #197A67
square
#36197A #7A192D #5D7A19 #197A67
split-complementary
#36197A #7A6719 #2D7A19
monochromatic
#0B0519 #200F47 #36197A #4C23AD #6737D6

Accessibility & contrast

On white

13.32
#36197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#36197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36197A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36197A#FFFFFF#000000##FFFFFF
##36197A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#1B3449
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36197a;
/* rgb */ color: rgb(54, 25, 122);
/* oklch */ color: oklch(32.4% 0.151 288.5);
Tailwind
colors: {
  custom: {
    50: '#7659a1',
    500: '#36197a',
    950: '#000000',
  },
}
SCSS
$custom: #36197a;
$custom-light: #7659a1;
$custom-dark: #000000;
JSON
{
  "hex": "#36197a",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 257.938,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32408,
    "c": 0.15107,
    "h": 288.5
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#36197A
secondary
#8EAF40
accent
#E93FB6
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36197A

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

Preview Lab → · Contrast checker → · Palette generator →

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