#36197E#36197E

#36197E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.156 H 287.5°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#36197E
RGBrgb(54, 25, 126)
HSLhsl(257, 67%, 30%)
HSVhsv(257, 80%, 49%)
CMYKcmyk(57.1%, 80.2%, 0%, 50.6%)
CIE-LABlab(19.99, 39.84, -51.67)
CIE-LCHlch(19.99, 65.24, 307.63°)
OKLaboklab(32.82% 0.0468 -0.1487)
OKLCHoklch(32.82% 0.156 287.5)
XYZxyz(5.6337, 2.9856, 20.0140)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36197E #617E19
analogous
#192E7E #36197E #69197E
triadic
#36197E #7E3619 #197E36
tetradic
#36197E #7E192E #617E19 #197E69
square
#36197E #7E192E #617E19 #197E69
split-complementary
#36197E #7E6919 #2E7E19
monochromatic
#0B051A #200F4B #36197E #4C23B1 #673AD8

Accessibility & contrast

On white

13.15
#36197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36197E
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36197E#FFFFFF#000000##FFFFFF
##36197E1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#16364B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #36197e;
/* rgb */ color: rgb(54, 25, 126);
/* oklch */ color: oklch(32.8% 0.156 287.5);
Tailwind
colors: {
  custom: {
    50: '#765aa4',
    500: '#36197e',
    950: '#000000',
  },
}
SCSS
$custom: #36197e;
$custom-light: #765aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#36197e",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 257.228,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32819,
    "c": 0.15591,
    "h": 287.5
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#36197E
secondary
#92B241
accent
#EA3EB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36197E

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

Preview Lab → · Contrast checker → · Palette generator →

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