#361D76#361D76

#361D76 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.142 H 288.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#361D76
RGBrgb(54, 29, 118)
HSLhsl(257, 61%, 29%)
HSVhsv(257, 75%, 46%)
CMYKcmyk(54.2%, 75.4%, 0%, 53.7%)
CIE-LABlab(19.93, 35.32, -46.66)
CIE-LCHlch(19.93, 58.52, 307.12°)
OKLaboklab(32.53% 0.0457 -0.1341)
OKLCHoklch(32.53% 0.142 288.8)
XYZxyz(5.2297, 2.9708, 17.4339)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D76 #5D761D
analogous
#1D3176 #361D76 #631D76
triadic
#361D76 #76361D #1D7636
tetradic
#361D76 #761D31 #5D761D #1D7663
square
#361D76 #761D31 #5D761D #1D7663
split-complementary
#361D76 #76631D #31761D
monochromatic
#0B0619 #201145 #361D76 #4C29A7 #673ED0

Accessibility & contrast

On white

13.17
#361D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#361D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D76
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D76#FFFFFF#000000##FFFFFF
##361D761.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#1E3547
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361d76;
/* rgb */ color: rgb(54, 29, 118);
/* oklch */ color: oklch(32.5% 0.142 288.8);
Tailwind
colors: {
  custom: {
    50: '#745c9e',
    500: '#361d76',
    950: '#000000',
  },
}
SCSS
$custom: #361d76;
$custom-light: #745c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#361d76",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 256.854,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32534,
    "c": 0.14165,
    "h": 288.8
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#361D76
secondary
#8EAA45
accent
#E444B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361D76

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

Preview Lab → · Contrast checker → · Palette generator →

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