#36188A#36188A

#36188A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.171 H 284.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#36188A
RGBrgb(54, 24, 138)
HSLhsl(256, 70%, 32%)
HSVhsv(256, 83%, 54%)
CMYKcmyk(60.9%, 82.6%, 0%, 45.9%)
CIE-LABlab(21.10, 43.85, -57.40)
CIE-LCHlch(21.10, 72.23, 307.38°)
OKLaboklab(33.98% 0.0436 -0.1654)
OKLCHoklch(33.98% 0.171 284.7)
XYZxyz(6.4340, 3.2721, 24.3324)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36188A #6C8A18
analogous
#18338A #36188A #6F188A
triadic
#36188A #8A3618 #188A36
tetradic
#36188A #8A1833 #6C8A18 #188A6F
square
#36188A #8A1833 #6C8A18 #188A6F
split-complementary
#36188A #8A6F18 #338A18
monochromatic
#0D0622 #220F56 #36188A #4A21BE #693FDE

Accessibility & contrast

On white

12.69
#36188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#36188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36188A
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36188A#FFFFFF#000000##FFFFFF
##36188A1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#013B52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #36188a;
/* rgb */ color: rgb(54, 24, 138);
/* oklch */ color: oklch(34.0% 0.171 284.7);
Tailwind
colors: {
  custom: {
    50: '#795aad',
    500: '#36188a',
    950: '#000000',
  },
}
SCSS
$custom: #36188a;
$custom-light: #795aad;
$custom-dark: #000000;
JSON
{
  "hex": "#36188a",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 255.789,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33978,
    "c": 0.17106,
    "h": 284.7
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#36188A
secondary
#9DBD40
accent
#ED3BBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #36188A

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

Preview Lab → · Contrast checker → · Palette generator →

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