#361B81#361B81

#361B81 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.158 H 286.4°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#361B81
RGBrgb(54, 27, 129)
HSLhsl(256, 65%, 31%)
HSVhsv(256, 79%, 51%)
CMYKcmyk(58.1%, 79.1%, 0%, 49.4%)
CIE-LABlab(20.65, 39.73, -52.49)
CIE-LCHlch(20.65, 65.83, 307.13°)
OKLaboklab(33.37% 0.0444 -0.1511)
OKLCHoklch(33.37% 0.158 286.4)
XYZxyz(5.8745, 3.1528, 21.0636)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B81 #66811B
analogous
#1B3381 #361B81 #691B81
triadic
#361B81 #81361B #1B8136
tetradic
#361B81 #811B33 #66811B #1B8169
square
#361B81 #811B33 #66811B #1B8169
split-complementary
#361B81 #81691B #33811B
monochromatic
#0C061C #21104E #361B81 #4B26B4 #683FD7

Accessibility & contrast

On white

12.88
#361B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#361B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B81
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B81#FFFFFF#000000##FFFFFF
##361B811.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002F7F
Tritanopia (blue-blind)
#12384D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361b81;
/* rgb */ color: rgb(54, 27, 129);
/* oklch */ color: oklch(33.4% 0.158 286.4);
Tailwind
colors: {
  custom: {
    50: '#775ba7',
    500: '#361b81',
    950: '#000000',
  },
}
SCSS
$custom: #361b81;
$custom-light: #775ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#361b81",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 255.882,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33374,
    "c": 0.15751,
    "h": 286.4
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#361B81
secondary
#97B543
accent
#E83FBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361B81

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

Preview Lab → · Contrast checker → · Palette generator →

#361B81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva