#361A86#361A86

#361A86 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.165 H 285.4°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#361A86
RGBrgb(54, 26, 134)
HSLhsl(256, 68%, 31%)
HSVhsv(256, 81%, 53%)
CMYKcmyk(59.7%, 80.6%, 0%, 47.5%)
CIE-LABlab(21.00, 41.73, -55.07)
CIE-LCHlch(21.00, 69.09, 307.16°)
OKLaboklab(33.78% 0.0436 -0.1586)
OKLCHoklch(33.78% 0.165 285.4)
XYZxyz(6.1925, 3.2439, 22.8495)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A86 #6A861A
analogous
#1A3486 #361A86 #6C1A86
triadic
#361A86 #86361A #1A8636
tetradic
#361A86 #861A34 #6A861A #1A866C
square
#361A86 #861A34 #6A861A #1A866C
split-complementary
#361A86 #866C1A #34861A
monochromatic
#0D061F #211053 #361A86 #4B24B9 #6840DA

Accessibility & contrast

On white

12.74
#361A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#361A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A86
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A86#FFFFFF#000000##FFFFFF
##361A861.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#0A3A50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361a86;
/* rgb */ color: rgb(54, 26, 134);
/* oklch */ color: oklch(33.8% 0.165 285.4);
Tailwind
colors: {
  custom: {
    50: '#785baa',
    500: '#361a86',
    950: '#000000',
  },
}
SCSS
$custom: #361a86;
$custom-light: #785baa;
$custom-dark: #000000;
JSON
{
  "hex": "#361a86",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 255.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33775,
    "c": 0.16452,
    "h": 285.4
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#361A86
secondary
#9BB942
accent
#EA3DBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361A86

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

Preview Lab → · Contrast checker → · Palette generator →

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