#361F86#361F86

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

Color values

HEX#361F86
RGBrgb(54, 31, 134)
HSLhsl(253, 62%, 32%)
HSVhsv(253, 77%, 53%)
CMYKcmyk(59.7%, 76.9%, 0%, 47.5%)
CIE-LABlab(21.89, 39.17, -53.59)
CIE-LCHlch(21.89, 66.38, 306.16°)
OKLaboklab(34.4% 0.04 -0.1544)
OKLCHoklch(34.4% 0.159 284.5)
XYZxyz(6.3131, 3.4851, 22.8897)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F86 #6F861F
analogous
#1F3C86 #361F86 #6A1F86
triadic
#361F86 #86361F #1F8636
tetradic
#361F86 #861F3C #6F861F #1F866A
square
#361F86 #861F3C #6F861F #1F866A
split-complementary
#361F86 #866A1F #3C861F
monochromatic
#0E0823 #221454 #361F86 #4A2AB8 #694AD5

Accessibility & contrast

On white

12.37
#361F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#361F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F86
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F86#FFFFFF#000000##FFFFFF
##361F861.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361f86;
/* rgb */ color: rgb(54, 31, 134);
/* oklch */ color: oklch(34.4% 0.159 284.5);
Tailwind
colors: {
  custom: {
    50: '#775eaa',
    500: '#361f86',
    950: '#000000',
  },
}
SCSS
$custom: #361f86;
$custom-light: #775eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#361f86",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 253.398,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34401,
    "c": 0.15947,
    "h": 284.5
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#361F86
secondary
#9FB849
accent
#E542C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361F86

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

Preview Lab → · Contrast checker → · Palette generator →

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