#361A78#361A78

#361A78 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.148 H 288.9°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#361A78
RGBrgb(54, 26, 120)
HSLhsl(258, 64%, 29%)
HSVhsv(258, 78%, 47%)
CMYKcmyk(55%, 78.3%, 0%, 52.9%)
CIE-LABlab(19.55, 37.54, -48.56)
CIE-LCHlch(19.55, 61.37, 307.71°)
OKLaboklab(32.33% 0.0478 -0.1396)
OKLCHoklch(32.33% 0.148 288.9)
XYZxyz(5.2799, 2.8789, 18.0431)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A78 #5C781A
analogous
#1A2D78 #361A78 #651A78
triadic
#361A78 #78361A #1A7836
tetradic
#361A78 #781A2D #5C781A #1A7865
square
#361A78 #781A2D #5C781A #1A7865
split-complementary
#361A78 #78651A #2D781A
monochromatic
#0B0519 #1F0F46 #361A78 #4D25AA #6738D4

Accessibility & contrast

On white

13.33
#361A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#361A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A78
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A78#FFFFFF#000000##FFFFFF
##361A781.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#002D76
Tritanopia (blue-blind)
#1C3448
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361a78;
/* rgb */ color: rgb(54, 26, 120);
/* oklch */ color: oklch(32.3% 0.148 288.9);
Tailwind
colors: {
  custom: {
    50: '#755aa0',
    500: '#361a78',
    950: '#000000',
  },
}
SCSS
$custom: #361a78;
$custom-light: #755aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#361a78",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 257.872,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3233,
    "c": 0.14757,
    "h": 288.9
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#361A78
secondary
#8DAC41
accent
#E740B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361A78

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

Preview Lab → · Contrast checker → · Palette generator →

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