#36148D#36148D

#36148D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.178 H 284.6°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#36148D
RGBrgb(54, 20, 141)
HSLhsl(257, 75%, 32%)
HSVhsv(257, 86%, 55%)
CMYKcmyk(61.7%, 85.8%, 0%, 44.7%)
CIE-LABlab(20.86, 46.42, -59.68)
CIE-LCHlch(20.86, 75.61, 307.88°)
OKLaboklab(33.91% 0.0447 -0.172)
OKLCHoklch(33.91% 0.178 284.6)
XYZxyz(6.5777, 3.2072, 25.4666)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36148D #6B8D14
analogous
#142E8D #36148D #73148D
triadic
#36148D #8D3614 #148D36
tetradic
#36148D #8D142E #6B8D14 #148D73
square
#36148D #8D142E #6B8D14 #148D73
split-complementary
#36148D #8D7314 #2E8D14
monochromatic
#0D0522 #210C57 #36148D #4B1CC3 #6839E3

Accessibility & contrast

On white

12.79
#36148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#36148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36148D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36148D#FFFFFF#000000##FFFFFF
##36148D1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#003A53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #36148d;
/* rgb */ color: rgb(54, 20, 141);
/* oklch */ color: oklch(33.9% 0.178 284.6);
Tailwind
colors: {
  custom: {
    50: '#7958b0',
    500: '#36148d',
    950: '#000000',
  },
}
SCSS
$custom: #36148d;
$custom-light: #7958b0;
$custom-dark: #000000;
JSON
{
  "hex": "#36148d",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 256.86,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33907,
    "c": 0.17773,
    "h": 284.6
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#36148D
secondary
#9CC13C
accent
#F236BD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #36148D

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

Preview Lab → · Contrast checker → · Palette generator →

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