#361B86#361B86

#361B86 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.164 H 285.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#361B86
RGBrgb(54, 27, 134)
HSLhsl(255, 66%, 32%)
HSVhsv(255, 80%, 53%)
CMYKcmyk(59.7%, 79.9%, 0%, 47.5%)
CIE-LABlab(21.17, 41.24, -54.78)
CIE-LCHlch(21.17, 68.57, 306.97°)
OKLaboklab(33.89% 0.0429 -0.1578)
OKLCHoklch(33.89% 0.164 285.2)
XYZxyz(6.2150, 3.2890, 22.8570)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B86 #6B861B
analogous
#1B3686 #361B86 #6C1B86
triadic
#361B86 #86361B #1B8636
tetradic
#361B86 #861B36 #6B861B #1B866C
square
#361B86 #861B36 #6B861B #1B866C
split-complementary
#361B86 #866C1B #36861B
monochromatic
#0D0620 #211153 #361B86 #4B25B9 #6842D9

Accessibility & contrast

On white

12.67
#361B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#361B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B86
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B86#FFFFFF#000000##FFFFFF
##361B861.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#093A50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361b86;
/* rgb */ color: rgb(54, 27, 134);
/* oklch */ color: oklch(33.9% 0.164 285.2);
Tailwind
colors: {
  custom: {
    50: '#785baa',
    500: '#361b86',
    950: '#000000',
  },
}
SCSS
$custom: #361b86;
$custom-light: #785baa;
$custom-dark: #000000;
JSON
{
  "hex": "#361b86",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 255.14,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33894,
    "c": 0.16356,
    "h": 285.2
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#361B86
secondary
#9CB944
accent
#E93EBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361B86

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

Preview Lab → · Contrast checker → · Palette generator →

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