#36187E#36187E

#36187E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.157 H 287.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#36187E
RGBrgb(54, 24, 126)
HSLhsl(258, 68%, 29%)
HSVhsv(258, 81%, 49%)
CMYKcmyk(57.1%, 81%, 0%, 50.6%)
CIE-LABlab(19.82, 40.33, -51.95)
CIE-LCHlch(19.82, 65.76, 307.82°)
OKLaboklab(32.7% 0.0476 -0.1495)
OKLCHoklch(32.7% 0.157 287.6)
XYZxyz(5.6127, 2.9436, 20.0070)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36187E #607E18
analogous
#182D7E #36187E #69187E
triadic
#36187E #7E3618 #187E36
tetradic
#36187E #7E182D #607E18 #187E69
square
#36187E #7E182D #607E18 #187E69
split-complementary
#36187E #7E6918 #2D7E18
monochromatic
#0B051A #200E4B #36187E #4C22B1 #6737D9

Accessibility & contrast

On white

13.22
#36187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#36187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36187E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36187E#FFFFFF#000000##FFFFFF
##36187E1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36187e;
/* rgb */ color: rgb(54, 24, 126);
/* oklch */ color: oklch(32.7% 0.157 287.6);
Tailwind
colors: {
  custom: {
    50: '#7659a4',
    500: '#36187e',
    950: '#000000',
  },
}
SCSS
$custom: #36187e;
$custom-light: #7659a4;
$custom-dark: #000000;
JSON
{
  "hex": "#36187e",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 257.647,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32701,
    "c": 0.15689,
    "h": 287.6
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#36187E
secondary
#91B23F
accent
#EB3DB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36187E

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

Preview Lab → · Contrast checker → · Palette generator →

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