#36189F#36189F

#36189F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.3% C 0.195 H 280.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#36189F
RGBrgb(54, 24, 159)
HSLhsl(253, 74%, 36%)
HSVhsv(253, 85%, 62%)
CMYKcmyk(66%, 84.9%, 0%, 37.6%)
CIE-LABlab(23.47, 49.93, -66.46)
CIE-LCHlch(23.47, 83.12, 306.92°)
OKLaboklab(36.31% 0.0362 -0.1918)
OKLCHoklch(36.31% 0.195 280.7)
XYZxyz(8.1040, 3.9401, 33.1276)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36189F #819F18
analogous
#183E9F #36189F #79189F
triadic
#36189F #9F3618 #189F36
tetradic
#36189F #9F183E #819F18 #189F79
square
#36189F #9F183E #819F18 #189F79
split-complementary
#36189F #9F7918 #3E9F18
monochromatic
#120835 #24106A #36189F #4820D4 #6F4DE4

Accessibility & contrast

On white

11.74
#36189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#36189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36189F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36189F#FFFFFF#000000##FFFFFF
##36189F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #36189f;
/* rgb */ color: rgb(54, 24, 159);
/* oklch */ color: oklch(36.3% 0.195 280.7);
Tailwind
colors: {
  custom: {
    50: '#7d5cbd',
    500: '#36189f',
    950: '#000000',
  },
}
SCSS
$custom: #36189f;
$custom-light: #7d5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#36189f",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 253.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36307,
    "c": 0.19519,
    "h": 280.7
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#36189F
secondary
#ABC64D
accent
#F037C7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #36189F

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

Preview Lab → · Contrast checker → · Palette generator →

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