#361E84#361E84

#361E84 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.158 H 285.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#361E84
RGBrgb(54, 30, 132)
HSLhsl(254, 63%, 32%)
HSVhsv(254, 77%, 52%)
CMYKcmyk(59.1%, 77.3%, 0%, 48.2%)
CIE-LABlab(21.50, 39.09, -52.98)
CIE-LCHlch(21.50, 65.83, 306.42°)
OKLaboklab(34.07% 0.0413 -0.1526)
OKLCHoklch(34.07% 0.158 285.1)
XYZxyz(6.1492, 3.3784, 22.1534)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E84 #6C841E
analogous
#1E3984 #361E84 #691E84
triadic
#361E84 #84361E #1E8436
tetradic
#361E84 #841E39 #6C841E #1E8469
square
#361E84 #841E39 #6C841E #1E8469
split-complementary
#361E84 #84691E #39841E
monochromatic
#0D0720 #221352 #361E84 #4A29B6 #6947D5

Accessibility & contrast

On white

12.53
#361E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#361E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E84
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E84#FFFFFF#000000##FFFFFF
##361E841.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#0D3B50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361e84;
/* rgb */ color: rgb(54, 30, 132);
/* oklch */ color: oklch(34.1% 0.158 285.1);
Tailwind
colors: {
  custom: {
    50: '#775da9',
    500: '#361e84',
    950: '#000000',
  },
}
SCSS
$custom: #361e84;
$custom-light: #775da9;
$custom-dark: #000000;
JSON
{
  "hex": "#361e84",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 254.118,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34065,
    "c": 0.15806,
    "h": 285.1
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#361E84
secondary
#9DB747
accent
#E642BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361E84

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

Preview Lab → · Contrast checker → · Palette generator →

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