#36187D#36187D

#36187D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.156 H 287.9°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#36187D
RGBrgb(54, 24, 125)
HSLhsl(258, 68%, 29%)
HSVhsv(258, 81%, 49%)
CMYKcmyk(56.8%, 80.8%, 0%, 51%)
CIE-LABlab(19.71, 40.03, -51.49)
CIE-LCHlch(19.71, 65.22, 307.87°)
OKLaboklab(32.6% 0.0479 -0.1482)
OKLCHoklch(32.6% 0.156 287.9)
XYZxyz(5.5485, 2.9179, 19.6689)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36187D #5F7D18
analogous
#182D7D #36187D #69187D
triadic
#36187D #7D3618 #187D36
tetradic
#36187D #7D182D #5F7D18 #187D69
square
#36187D #7D182D #5F7D18 #187D69
split-complementary
#36187D #7D6918 #2D7D18
monochromatic
#0B051A #200E4A #36187D #4C22B0 #6737D9

Accessibility & contrast

On white

13.26
#36187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#36187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36187D
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36187D#FFFFFF#000000##FFFFFF
##36187D1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36187d;
/* rgb */ color: rgb(54, 24, 125);
/* oklch */ color: oklch(32.6% 0.156 287.9);
Tailwind
colors: {
  custom: {
    50: '#7659a4',
    500: '#36187d',
    950: '#000000',
  },
}
SCSS
$custom: #36187d;
$custom-light: #7659a4;
$custom-dark: #000000;
JSON
{
  "hex": "#36187d",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 257.822,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32597,
    "c": 0.1557,
    "h": 287.9
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#36187D
secondary
#90B23F
accent
#EB3DB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36187D

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

Preview Lab → · Contrast checker → · Palette generator →

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