#361E76#361E76

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

Color values

HEX#361E76
RGBrgb(54, 30, 118)
HSLhsl(256, 59%, 29%)
HSVhsv(256, 75%, 46%)
CMYKcmyk(54.2%, 74.6%, 0%, 53.7%)
CIE-LABlab(20.13, 34.76, -46.33)
CIE-LCHlch(20.13, 57.92, 306.88°)
OKLaboklab(32.68% 0.0448 -0.1331)
OKLCHoklch(32.68% 0.14 288.6)
XYZxyz(5.2547, 3.0206, 17.4422)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E76 #5E761E
analogous
#1E3276 #361E76 #621E76
triadic
#361E76 #76361E #1E7636
tetradic
#361E76 #761E32 #5E761E #1E7662
square
#361E76 #761E32 #5E761E #1E7662
split-complementary
#361E76 #76621E #32761E
monochromatic
#0B0618 #201245 #361E76 #4C2AA7 #6740CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##361E76#FFFFFF#000000##FFFFFF
##361E761.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)
#003279
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#1E3548
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361e76;
/* rgb */ color: rgb(54, 30, 118);
/* oklch */ color: oklch(32.7% 0.140 288.6);
Tailwind
colors: {
  custom: {
    50: '#745c9e',
    500: '#361e76',
    950: '#000000',
  },
}
SCSS
$custom: #361e76;
$custom-light: #745c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#361e76",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 256.364,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32676,
    "c": 0.14045,
    "h": 288.6
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#361E76
secondary
#8FAA46
accent
#E345B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361E76

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

Preview Lab → · Contrast checker → · Palette generator →

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