#361986#361986

#361986 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.165 H 285.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#361986
RGBrgb(54, 25, 134)
HSLhsl(256, 69%, 31%)
HSVhsv(256, 81%, 53%)
CMYKcmyk(59.7%, 81.3%, 0%, 47.5%)
CIE-LABlab(20.83, 42.21, -55.34)
CIE-LCHlch(20.83, 69.60, 307.33°)
OKLaboklab(33.66% 0.0443 -0.1594)
OKLCHoklch(33.66% 0.165 285.5)
XYZxyz(6.1707, 3.2004, 22.8422)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361986 #698619
analogous
#193286 #361986 #6C1986
triadic
#361986 #863619 #198636
tetradic
#361986 #861932 #698619 #19866C
square
#361986 #861932 #698619 #19866C
split-complementary
#361986 #866C19 #328619
monochromatic
#0C061F #210F52 #361986 #4B23BA #683EDB

Accessibility & contrast

On white

12.80
#361986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#361986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361986
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361986#FFFFFF#000000##FFFFFF
##3619861.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361986;
/* rgb */ color: rgb(54, 25, 134);
/* oklch */ color: oklch(33.7% 0.165 285.5);
Tailwind
colors: {
  custom: {
    50: '#785aaa',
    500: '#361986',
    950: '#000000',
  },
}
SCSS
$custom: #361986;
$custom-light: #785aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#361986",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 255.963,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33659,
    "c": 0.16546,
    "h": 285.5
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#361986
secondary
#9ABA41
accent
#EB3CBD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361986

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

Preview Lab → · Contrast checker → · Palette generator →

#361986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva