#36197F#36197F

#36197F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.157 H 287.2°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#36197F
RGBrgb(54, 25, 127)
HSLhsl(257, 67%, 30%)
HSVhsv(257, 80%, 50%)
CMYKcmyk(57.5%, 80.3%, 0%, 50.2%)
CIE-LABlab(20.09, 40.14, -52.14)
CIE-LCHlch(20.09, 65.79, 307.59°)
OKLaboklab(32.92% 0.0465 -0.1501)
OKLCHoklch(32.92% 0.157 287.2)
XYZxyz(5.6986, 3.0115, 20.3556)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36197F #627F19
analogous
#192F7F #36197F #69197F
triadic
#36197F #7F3619 #197F36
tetradic
#36197F #7F192F #627F19 #197F69
square
#36197F #7F192F #627F19 #197F69
split-complementary
#36197F #7F6919 #2F7F19
monochromatic
#0B051A #200F4C #36197F #4C23B2 #673AD8

Accessibility & contrast

On white

13.11
#36197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#36197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36197F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36197F#FFFFFF#000000##FFFFFF
##36197F1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#15364C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #36197f;
/* rgb */ color: rgb(54, 25, 127);
/* oklch */ color: oklch(32.9% 0.157 287.2);
Tailwind
colors: {
  custom: {
    50: '#765aa5',
    500: '#36197f',
    950: '#000000',
  },
}
SCSS
$custom: #36197f;
$custom-light: #765aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#36197f",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 257.059,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32923,
    "c": 0.1571,
    "h": 287.2
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#36197F
secondary
#93B341
accent
#EA3EB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36197F

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

Preview Lab → · Contrast checker → · Palette generator →

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