#36188C#36188C

#36188C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.173 H 284.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#36188C
RGBrgb(54, 24, 140)
HSLhsl(256, 71%, 32%)
HSVhsv(256, 83%, 55%)
CMYKcmyk(61.4%, 82.9%, 0%, 45.1%)
CIE-LABlab(21.32, 44.44, -58.29)
CIE-LCHlch(21.32, 73.29, 307.32°)
OKLaboklab(34.2% 0.0429 -0.168)
OKLCHoklch(34.2% 0.173 284.3)
XYZxyz(6.5801, 3.3306, 25.1020)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36188C #6E8C18
analogous
#18348C #36188C #70188C
triadic
#36188C #8C3618 #188C36
tetradic
#36188C #8C1834 #6E8C18 #188C70
square
#36188C #8C1834 #6E8C18 #188C70
split-complementary
#36188C #8C7018 #348C18
monochromatic
#0E0624 #220F58 #36188C #4A21C0 #6940DE

Accessibility & contrast

On white

12.60
#36188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#36188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36188C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36188C#FFFFFF#000000##FFFFFF
##36188C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #36188c;
/* rgb */ color: rgb(54, 24, 140);
/* oklch */ color: oklch(34.2% 0.173 284.3);
Tailwind
colors: {
  custom: {
    50: '#795aaf',
    500: '#36188c',
    950: '#000000',
  },
}
SCSS
$custom: #36188c;
$custom-light: #795aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#36188c",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 255.517,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34195,
    "c": 0.17339,
    "h": 284.3
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#36188C
secondary
#9EBF41
accent
#ED3ABF
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #36188C

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

Preview Lab → · Contrast checker → · Palette generator →

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