#361886#361886

#361886 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.166 H 285.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#361886
RGBrgb(54, 24, 134)
HSLhsl(256, 70%, 31%)
HSVhsv(256, 82%, 53%)
CMYKcmyk(59.7%, 82.1%, 0%, 47.5%)
CIE-LABlab(20.67, 42.68, -55.61)
CIE-LCHlch(20.67, 70.10, 307.51°)
OKLaboklab(33.55% 0.0449 -0.1602)
OKLCHoklch(33.55% 0.166 285.7)
XYZxyz(6.1497, 3.1584, 22.8352)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361886 #688618
analogous
#183186 #361886 #6D1886
triadic
#361886 #863618 #188636
tetradic
#361886 #861831 #688618 #18866D
square
#361886 #861831 #688618 #18866D
split-complementary
#361886 #866D18 #318618
monochromatic
#0C051E #210F52 #361886 #4B21BA #683CDC

Accessibility & contrast

On white

12.87
#361886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#361886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361886
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361886#FFFFFF#000000##FFFFFF
##3618861.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361886;
/* rgb */ color: rgb(54, 24, 134);
/* oklch */ color: oklch(33.5% 0.166 285.7);
Tailwind
colors: {
  custom: {
    50: '#785aaa',
    500: '#361886',
    950: '#000000',
  },
}
SCSS
$custom: #361886;
$custom-light: #785aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#361886",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 256.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33547,
    "c": 0.16637,
    "h": 285.7
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#361886
secondary
#99BA40
accent
#EC3BBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361886

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

Preview Lab → · Contrast checker → · Palette generator →

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