#361D96#361D96

#361D96 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.181 H 281.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#361D96
RGBrgb(54, 29, 150)
HSLhsl(252, 68%, 35%)
HSVhsv(252, 81%, 59%)
CMYKcmyk(64%, 80.7%, 0%, 41.2%)
CIE-LABlab(23.22, 45.07, -61.36)
CIE-LCHlch(23.22, 76.13, 306.30°)
OKLaboklab(35.83% 0.0367 -0.177)
OKLCHoklch(35.83% 0.181 281.7)
XYZxyz(7.4640, 3.8645, 29.2008)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D96 #7D961D
analogous
#1D4096 #361D96 #731D96
triadic
#361D96 #96361D #1D9636
tetradic
#361D96 #961D40 #7D961D #1D9673
square
#361D96 #961D40 #7D961D #1D9673
split-complementary
#361D96 #96731D #40961D
monochromatic
#11092F #241363 #361D96 #4827C9 #6D50DD

Accessibility & contrast

On white

11.84
#361D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#361D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D96
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D96#FFFFFF#000000##FFFFFF
##361D961.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361d96;
/* rgb */ color: rgb(54, 29, 150);
/* oklch */ color: oklch(35.8% 0.181 281.7);
Tailwind
colors: {
  custom: {
    50: '#7b5db6',
    500: '#361d96',
    950: '#000000',
  },
}
SCSS
$custom: #361d96;
$custom-light: #7b5db6;
$custom-dark: #000000;
JSON
{
  "hex": "#361d96",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 252.397,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35834,
    "c": 0.18079,
    "h": 281.7
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#361D96
secondary
#A9C04F
accent
#EA3DC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361D96

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

Preview Lab → · Contrast checker → · Palette generator →

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