#361E87#361E87

#361E87 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.162 H 284.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#361E87
RGBrgb(54, 30, 135)
HSLhsl(254, 64%, 32%)
HSVhsv(254, 78%, 53%)
CMYKcmyk(60%, 77.8%, 0%, 47.1%)
CIE-LABlab(21.81, 40.01, -54.36)
CIE-LCHlch(21.81, 67.50, 306.35°)
OKLaboklab(34.37% 0.0405 -0.1566)
OKLCHoklch(34.37% 0.162 284.5)
XYZxyz(6.3574, 3.4617, 23.2501)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E87 #6F871E
analogous
#1E3B87 #361E87 #6A1E87
triadic
#361E87 #87361E #1E8736
tetradic
#361E87 #871E3B #6F871E #1E876A
square
#361E87 #871E3B #6F871E #1E876A
split-complementary
#361E87 #876A1E #3B871E
monochromatic
#0E0823 #221355 #361E87 #4A29B9 #6949D7

Accessibility & contrast

On white

12.41
#361E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361E87
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E87#FFFFFF#000000##FFFFFF
##361E871.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#073C51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361e87;
/* rgb */ color: rgb(54, 30, 135);
/* oklch */ color: oklch(34.4% 0.162 284.5);
Tailwind
colors: {
  custom: {
    50: '#785dab',
    500: '#361e87',
    950: '#000000',
  },
}
SCSS
$custom: #361e87;
$custom-light: #785dab;
$custom-dark: #000000;
JSON
{
  "hex": "#361e87",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 253.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34373,
    "c": 0.16176,
    "h": 284.5
  },
  "luminance": 0.03462
}

Semantic roles & 50–950 ramp

primary
#361E87
secondary
#9FB948
accent
#E741C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361E87

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

Preview Lab → · Contrast checker → · Palette generator →

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