#36188D#36188D

#36188D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.175 H 284.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#36188D
RGBrgb(54, 24, 141)
HSLhsl(255, 71%, 32%)
HSVhsv(255, 83%, 55%)
CMYKcmyk(61.7%, 83%, 0%, 44.7%)
CIE-LABlab(21.43, 44.73, -58.73)
CIE-LCHlch(21.43, 73.82, 307.29°)
OKLaboklab(34.3% 0.0425 -0.1693)
OKLCHoklch(34.3% 0.175 284.1)
XYZxyz(6.6542, 3.3602, 25.4921)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36188D #6F8D18
analogous
#18348D #36188D #71188D
triadic
#36188D #8D3618 #188D36
tetradic
#36188D #8D1834 #6F8D18 #188D71
square
#36188D #8D1834 #6F8D18 #188D71
split-complementary
#36188D #8D7118 #348D18
monochromatic
#0E0624 #220F59 #36188D #4A21C1 #6941DF

Accessibility & contrast

On white

12.56
#36188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#36188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36188D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36188D#FFFFFF#000000##FFFFFF
##36188D1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #36188d;
/* rgb */ color: rgb(54, 24, 141);
/* oklch */ color: oklch(34.3% 0.175 284.1);
Tailwind
colors: {
  custom: {
    50: '#795ab0',
    500: '#36188d',
    950: '#000000',
  },
}
SCSS
$custom: #36188d;
$custom-light: #795ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#36188d",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 255.385,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34304,
    "c": 0.17456,
    "h": 284.1
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#36188D
secondary
#9FBF42
accent
#EE3AC0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #36188D

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

Preview Lab → · Contrast checker → · Palette generator →

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