#361E78#361E78

#361E78 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.143 H 288.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#361E78
RGBrgb(54, 30, 120)
HSLhsl(256, 60%, 29%)
HSVhsv(256, 75%, 47%)
CMYKcmyk(55%, 75%, 0%, 52.9%)
CIE-LABlab(20.32, 35.38, -47.30)
CIE-LCHlch(20.32, 59.07, 306.79°)
OKLaboklab(32.87% 0.0443 -0.136)
OKLCHoklch(32.87% 0.143 288.1)
XYZxyz(5.3748, 3.0686, 18.0748)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E78 #60781E
analogous
#1E3378 #361E78 #631E78
triadic
#361E78 #78361E #1E7836
tetradic
#361E78 #781E33 #60781E #1E7863
square
#361E78 #781E33 #60781E #1E7863
split-complementary
#361E78 #78631E #33781E
monochromatic
#0B0618 #201247 #361E78 #4C2AA9 #6741CF

Accessibility & contrast

On white

13.01
#361E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#361E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E78
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E78#FFFFFF#000000##FFFFFF
##361E781.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#1C3649
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361e78;
/* rgb */ color: rgb(54, 30, 120);
/* oklch */ color: oklch(32.9% 0.143 288.1);
Tailwind
colors: {
  custom: {
    50: '#755ca0',
    500: '#361e78',
    950: '#000000',
  },
}
SCSS
$custom: #361e78;
$custom-light: #755ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#361e78",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 256,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3287,
    "c": 0.143,
    "h": 288.1
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#361E78
secondary
#91AC46
accent
#E345B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361E78

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

Preview Lab → · Contrast checker → · Palette generator →

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