#36148A#36148A

#36148A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.174 H 285.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#36148A
RGBrgb(54, 20, 138)
HSLhsl(257, 75%, 31%)
HSVhsv(257, 86%, 54%)
CMYKcmyk(60.9%, 85.5%, 0%, 45.9%)
CIE-LABlab(20.52, 45.57, -58.37)
CIE-LCHlch(20.52, 74.05, 307.98°)
OKLaboklab(33.57% 0.0458 -0.1682)
OKLCHoklch(33.57% 0.174 285.2)
XYZxyz(6.3575, 3.1192, 24.3069)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36148A #688A14
analogous
#142D8A #36148A #71148A
triadic
#36148A #8A3614 #148A36
tetradic
#36148A #8A142D #688A14 #148A71
square
#36148A #8A142D #688A14 #148A71
split-complementary
#36148A #8A7114 #2D8A14
monochromatic
#0C051F #210C55 #36148A #4B1CBF #6836E2

Accessibility & contrast

On white

12.93
#36148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#36148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36148A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36148A#FFFFFF#000000##FFFFFF
##36148A1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002E88
Tritanopia (blue-blind)
#013951
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #36148a;
/* rgb */ color: rgb(54, 20, 138);
/* oklch */ color: oklch(33.6% 0.174 285.2);
Tailwind
colors: {
  custom: {
    50: '#7958ad',
    500: '#36148a',
    950: '#000000',
  },
}
SCSS
$custom: #36148a;
$custom-light: #7958ad;
$custom-dark: #000000;
JSON
{
  "hex": "#36148a",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 257.288,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33573,
    "c": 0.17433,
    "h": 285.2
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#36148A
secondary
#99BE3C
accent
#F136BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #36148A

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

Preview Lab → · Contrast checker → · Palette generator →

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