#361C86#361C86

#361C86 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.163 H 285.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#361C86
RGBrgb(54, 28, 134)
HSLhsl(255, 65%, 32%)
HSVhsv(255, 79%, 53%)
CMYKcmyk(59.7%, 79.1%, 0%, 47.5%)
CIE-LABlab(21.34, 40.74, -54.50)
CIE-LCHlch(21.34, 68.04, 306.78°)
OKLaboklab(34.02% 0.0422 -0.157)
OKLCHoklch(34.02% 0.163 285)
XYZxyz(6.2383, 3.3356, 22.8647)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C86 #6C861C
analogous
#1C3786 #361C86 #6B1C86
triadic
#361C86 #86361C #1C8636
tetradic
#361C86 #861C37 #6C861C #1C866B
square
#361C86 #861C37 #6C861C #1C866B
split-complementary
#361C86 #866B1C #37861C
monochromatic
#0D0721 #221153 #361C86 #4A27B9 #6944D8

Accessibility & contrast

On white

12.60
#361C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#361C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C86
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C86#FFFFFF#000000##FFFFFF
##361C861.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361c86;
/* rgb */ color: rgb(54, 28, 134);
/* oklch */ color: oklch(34.0% 0.163 285.0);
Tailwind
colors: {
  custom: {
    50: '#785caa',
    500: '#361c86',
    950: '#000000',
  },
}
SCSS
$custom: #361c86;
$custom-light: #785caa;
$custom-dark: #000000;
JSON
{
  "hex": "#361c86",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 254.717,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34016,
    "c": 0.16257,
    "h": 285
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#361C86
secondary
#9DB945
accent
#E83FBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361C86

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

Preview Lab → · Contrast checker → · Palette generator →

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