#361B76#361B76

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

Color values

HEX#361B76
RGBrgb(54, 27, 118)
HSLhsl(258, 63%, 28%)
HSVhsv(258, 77%, 46%)
CMYKcmyk(54.2%, 77.1%, 0%, 53.7%)
CIE-LABlab(19.54, 36.41, -47.29)
CIE-LCHlch(19.54, 59.68, 307.59°)
OKLaboklab(32.26% 0.0475 -0.1359)
OKLCHoklch(32.26% 0.144 289.3)
XYZxyz(5.1823, 2.8759, 17.4181)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B76 #5B761B
analogous
#1B2D76 #361B76 #631B76
triadic
#361B76 #76361B #1B7636
tetradic
#361B76 #761B2D #5B761B #1B7663
square
#361B76 #761B2D #5B761B #1B7663
split-complementary
#361B76 #76631B #2D761B
monochromatic
#0B0619 #1F1044 #361B76 #4D26A8 #673AD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##361B76#FFFFFF#000000##FFFFFF
##361B761.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)
#003179
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#1E3447
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361b76;
/* rgb */ color: rgb(54, 27, 118);
/* oklch */ color: oklch(32.3% 0.144 289.3);
Tailwind
colors: {
  custom: {
    50: '#755a9e',
    500: '#361b76',
    950: '#000000',
  },
}
SCSS
$custom: #361b76;
$custom-light: #755a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#361b76",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 257.802,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32261,
    "c": 0.14398,
    "h": 289.3
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#361B76
secondary
#8CAA42
accent
#E642B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361B76

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

Preview Lab → · Contrast checker → · Palette generator →

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