#36187C#36187C

#36187C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.154 H 288.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#36187C
RGBrgb(54, 24, 124)
HSLhsl(258, 68%, 29%)
HSVhsv(258, 81%, 49%)
CMYKcmyk(56.5%, 80.6%, 0%, 51.4%)
CIE-LABlab(19.61, 39.74, -51.02)
CIE-LCHlch(19.61, 64.67, 307.91°)
OKLaboklab(32.49% 0.0482 -0.1468)
OKLCHoklch(32.49% 0.155 288.2)
XYZxyz(5.4850, 2.8925, 19.3342)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36187C #5E7C18
analogous
#182C7C #36187C #68187C
triadic
#36187C #7C3618 #187C36
tetradic
#36187C #7C182C #5E7C18 #187C68
square
#36187C #7C182C #5E7C18 #187C68
split-complementary
#36187C #7C6818 #2C7C18
monochromatic
#0B051A #200E49 #36187C #4C22AF #6736D8

Accessibility & contrast

On white

13.30
#36187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36187C
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36187C#FFFFFF#000000##FFFFFF
##36187C1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#19354A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #36187c;
/* rgb */ color: rgb(54, 24, 124);
/* oklch */ color: oklch(32.5% 0.154 288.2);
Tailwind
colors: {
  custom: {
    50: '#7659a3',
    500: '#36187c',
    950: '#000000',
  },
}
SCSS
$custom: #36187c;
$custom-light: #7659a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36187c",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 258,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32493,
    "c": 0.1545,
    "h": 288.2
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#36187C
secondary
#8FB13F
accent
#EA3DB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36187C

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

Preview Lab → · Contrast checker → · Palette generator →

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