#36197D#36197D

#36197D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.155 H 287.7°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#36197D
RGBrgb(54, 25, 125)
HSLhsl(257, 67%, 29%)
HSVhsv(257, 80%, 49%)
CMYKcmyk(56.8%, 80%, 0%, 51%)
CIE-LABlab(19.88, 39.54, -51.21)
CIE-LCHlch(19.88, 64.69, 307.67°)
OKLaboklab(32.72% 0.0471 -0.1473)
OKLCHoklch(32.72% 0.155 287.7)
XYZxyz(5.5695, 2.9599, 19.6759)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36197D #607D19
analogous
#192E7D #36197D #68197D
triadic
#36197D #7D3619 #197D36
tetradic
#36197D #7D192E #607D19 #197D68
square
#36197D #7D192E #607D19 #197D68
split-complementary
#36197D #7D6819 #2E7D19
monochromatic
#0B051A #200F4A #36197D #4C23B0 #6739D7

Accessibility & contrast

On white

13.19
#36197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#36197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36197D
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36197D#FFFFFF#000000##FFFFFF
##36197D1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#18364A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #36197d;
/* rgb */ color: rgb(54, 25, 125);
/* oklch */ color: oklch(32.7% 0.155 287.7);
Tailwind
colors: {
  custom: {
    50: '#765aa4',
    500: '#36197d',
    950: '#000000',
  },
}
SCSS
$custom: #36197d;
$custom-light: #765aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#36197d",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 257.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32716,
    "c": 0.1547,
    "h": 287.7
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#36197D
secondary
#91B140
accent
#EA3EB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36197D

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

Preview Lab → · Contrast checker → · Palette generator →

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