#36187A#36187A

#36187A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.152 H 288.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#36187A
RGBrgb(54, 24, 122)
HSLhsl(258, 67%, 29%)
HSVhsv(258, 80%, 48%)
CMYKcmyk(55.7%, 80.3%, 0%, 52.2%)
CIE-LABlab(19.40, 39.15, -50.08)
CIE-LCHlch(19.40, 63.57, 308.01°)
OKLaboklab(32.29% 0.0488 -0.1441)
OKLCHoklch(32.29% 0.152 288.7)
XYZxyz(5.3598, 2.8424, 18.6748)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36187A #5C7A18
analogous
#182B7A #36187A #67187A
triadic
#36187A #7A3618 #187A36
tetradic
#36187A #7A182B #5C7A18 #187A67
square
#36187A #7A182B #5C7A18 #187A67
split-complementary
#36187A #7A6718 #2B7A18
monochromatic
#0B051A #1F0E47 #36187A #4D22AD #6735D7

Accessibility & contrast

On white

13.39
#36187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#36187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36187A
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36187A#FFFFFF#000000##FFFFFF
##36187A1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#1B3448
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36187a;
/* rgb */ color: rgb(54, 24, 122);
/* oklch */ color: oklch(32.3% 0.152 288.7);
Tailwind
colors: {
  custom: {
    50: '#7659a1',
    500: '#36187a',
    950: '#000000',
  },
}
SCSS
$custom: #36187a;
$custom-light: #7659a1;
$custom-dark: #000000;
JSON
{
  "hex": "#36187a",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 258.367,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32286,
    "c": 0.15211,
    "h": 288.7
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#36187A
secondary
#8DAF3F
accent
#EA3EB5
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36187A

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

Preview Lab → · Contrast checker → · Palette generator →

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