#36188F#36188F

#36188F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.177 H 283.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#36188F
RGBrgb(54, 24, 143)
HSLhsl(255, 71%, 33%)
HSVhsv(255, 83%, 56%)
CMYKcmyk(62.2%, 83.2%, 0%, 43.9%)
CIE-LABlab(21.65, 45.31, -59.61)
CIE-LCHlch(21.65, 74.87, 307.24°)
OKLaboklab(34.52% 0.0418 -0.1719)
OKLCHoklch(34.52% 0.177 283.7)
XYZxyz(6.8043, 3.4202, 26.2829)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36188F #718F18
analogous
#18368F #36188F #71188F
triadic
#36188F #8F3618 #188F36
tetradic
#36188F #8F1836 #718F18 #188F71
square
#36188F #8F1836 #718F18 #188F71
split-complementary
#36188F #8F7118 #368F18
monochromatic
#0E0626 #220F5B #36188F #4A21C3 #6A42DF

Accessibility & contrast

On white

12.47
#36188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#36188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36188F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36188F#FFFFFF#000000##FFFFFF
##36188F1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36188f;
/* rgb */ color: rgb(54, 24, 143);
/* oklch */ color: oklch(34.5% 0.177 283.7);
Tailwind
colors: {
  custom: {
    50: '#7a5ab1',
    500: '#36188f',
    950: '#000000',
  },
}
SCSS
$custom: #36188f;
$custom-light: #7a5ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#36188f",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 255.126,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34522,
    "c": 0.17688,
    "h": 283.7
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#36188F
secondary
#A0C043
accent
#EE3AC1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #36188F

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

Preview Lab → · Contrast checker → · Palette generator →

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