#361887#361887

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

Color values

HEX#361887
RGBrgb(54, 24, 135)
HSLhsl(256, 70%, 31%)
HSVhsv(256, 82%, 53%)
CMYKcmyk(60%, 82.2%, 0%, 47.1%)
CIE-LABlab(20.78, 42.97, -56.06)
CIE-LCHlch(20.78, 70.63, 307.47°)
OKLaboklab(33.65% 0.0446 -0.1615)
OKLCHoklch(33.65% 0.168 285.4)
XYZxyz(6.2198, 3.1864, 23.2043)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361887 #698718
analogous
#183187 #361887 #6D1887
triadic
#361887 #873618 #188736
tetradic
#361887 #871831 #698718 #18876D
square
#361887 #871831 #698718 #18876D
split-complementary
#361887 #876D18 #318718
monochromatic
#0C061F #210F53 #361887 #4B21BB #683DDC

Accessibility & contrast

On white

12.83
#361887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361887
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361887#FFFFFF#000000##FFFFFF
##3618871.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#083950
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361887;
/* rgb */ color: rgb(54, 24, 135);
/* oklch */ color: oklch(33.7% 0.168 285.4);
Tailwind
colors: {
  custom: {
    50: '#785aab',
    500: '#361887',
    950: '#000000',
  },
}
SCSS
$custom: #361887;
$custom-light: #785aab;
$custom-dark: #000000;
JSON
{
  "hex": "#361887",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 256.216,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33654,
    "c": 0.16755,
    "h": 285.4
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#361887
secondary
#9ABB40
accent
#ED3BBD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361887

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

Preview Lab → · Contrast checker → · Palette generator →

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