#361B78#361B78

#361B78 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.146 H 288.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#361B78
RGBrgb(54, 27, 120)
HSLhsl(257, 63%, 29%)
HSVhsv(257, 78%, 47%)
CMYKcmyk(55%, 77.5%, 0%, 52.9%)
CIE-LABlab(19.74, 37.01, -48.25)
CIE-LCHlch(19.74, 60.81, 307.49°)
OKLaboklab(32.46% 0.047 -0.1387)
OKLCHoklch(32.46% 0.146 288.7)
XYZxyz(5.3024, 2.9239, 18.0506)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B78 #5D781B
analogous
#1B2F78 #361B78 #651B78
triadic
#361B78 #78361B #1B7836
tetradic
#361B78 #781B2F #5D781B #1B7865
square
#361B78 #781B2F #5D781B #1B7865
split-complementary
#361B78 #78651B #2F781B
monochromatic
#0B0619 #201046 #361B78 #4C26AA #673BD3

Accessibility & contrast

On white

13.25
#361B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B78
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B78#FFFFFF#000000##FFFFFF
##361B781.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002D76
Tritanopia (blue-blind)
#1C3548
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361b78;
/* rgb */ color: rgb(54, 27, 120);
/* oklch */ color: oklch(32.5% 0.146 288.7);
Tailwind
colors: {
  custom: {
    50: '#755aa0',
    500: '#361b78',
    950: '#000000',
  },
}
SCSS
$custom: #361b78;
$custom-light: #755aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#361b78",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 257.419,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3246,
    "c": 0.14646,
    "h": 288.7
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#361B78
secondary
#8EAC43
accent
#E641B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361B78

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

Preview Lab → · Contrast checker → · Palette generator →

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