#361E86#361E86

#361E86 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.161 H 284.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#361E86
RGBrgb(54, 30, 134)
HSLhsl(254, 63%, 32%)
HSVhsv(254, 78%, 53%)
CMYKcmyk(59.7%, 77.6%, 0%, 47.5%)
CIE-LABlab(21.70, 39.70, -53.90)
CIE-LCHlch(21.70, 66.94, 306.37°)
OKLaboklab(34.27% 0.0407 -0.1553)
OKLCHoklch(34.27% 0.161 284.7)
XYZxyz(6.2874, 3.4337, 22.8811)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E86 #6E861E
analogous
#1E3A86 #361E86 #6A1E86
triadic
#361E86 #86361E #1E8636
tetradic
#361E86 #861E3A #6E861E #1E866A
square
#361E86 #861E3A #6E861E #1E866A
split-complementary
#361E86 #866A1E #3A861E
monochromatic
#0E0822 #221354 #361E86 #4A29B8 #6948D6

Accessibility & contrast

On white

12.45
#361E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#361E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E86
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E86#FFFFFF#000000##FFFFFF
##361E861.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#093B51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361e86;
/* rgb */ color: rgb(54, 30, 134);
/* oklch */ color: oklch(34.3% 0.161 284.7);
Tailwind
colors: {
  custom: {
    50: '#775daa',
    500: '#361e86',
    950: '#000000',
  },
}
SCSS
$custom: #361e86;
$custom-light: #775daa;
$custom-dark: #000000;
JSON
{
  "hex": "#361e86",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 253.846,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3427,
    "c": 0.16053,
    "h": 284.7
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#361E86
secondary
#9EB847
accent
#E641C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361E86

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

Preview Lab → · Contrast checker → · Palette generator →

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