#361D78#361D78

#361D78 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.144 H 288.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#361D78
RGBrgb(54, 29, 120)
HSLhsl(256, 61%, 29%)
HSVhsv(256, 76%, 47%)
CMYKcmyk(55%, 75.8%, 0%, 52.9%)
CIE-LABlab(20.12, 35.93, -47.63)
CIE-LCHlch(20.12, 59.66, 307.03°)
OKLaboklab(32.73% 0.0452 -0.1369)
OKLCHoklch(32.73% 0.144 288.3)
XYZxyz(5.3499, 3.0188, 18.0665)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D78 #5F781D
analogous
#1D3178 #361D78 #641D78
triadic
#361D78 #78361D #1D7836
tetradic
#361D78 #781D31 #5F781D #1D7864
square
#361D78 #781D31 #5F781D #1D7864
split-complementary
#361D78 #78641D #31781D
monochromatic
#0B0619 #201147 #361D78 #4C29A9 #673FD1

Accessibility & contrast

On white

13.09
#361D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#361D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D78
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D78#FFFFFF#000000##FFFFFF
##361D781.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#1C3649
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361d78;
/* rgb */ color: rgb(54, 29, 120);
/* oklch */ color: oklch(32.7% 0.144 288.3);
Tailwind
colors: {
  custom: {
    50: '#755ca0',
    500: '#361d78',
    950: '#000000',
  },
}
SCSS
$custom: #361d78;
$custom-light: #755ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#361d78",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 256.484,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3273,
    "c": 0.14418,
    "h": 288.3
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#361D78
secondary
#90AC45
accent
#E444B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361D78

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

Preview Lab → · Contrast checker → · Palette generator →

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