#361A87#361A87

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

Color values

HEX#361A87
RGBrgb(54, 26, 135)
HSLhsl(255, 68%, 32%)
HSVhsv(255, 81%, 53%)
CMYKcmyk(60%, 80.7%, 0%, 47.1%)
CIE-LABlab(21.10, 42.03, -55.52)
CIE-LCHlch(21.10, 69.63, 307.13°)
OKLaboklab(33.88% 0.0433 -0.16)
OKLCHoklch(33.88% 0.166 285.1)
XYZxyz(6.2626, 3.2719, 23.2185)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A87 #6B871A
analogous
#1A3587 #361A87 #6D1A87
triadic
#361A87 #87361A #1A8736
tetradic
#361A87 #871A35 #6B871A #1A876D
square
#361A87 #871A35 #6B871A #1A876D
split-complementary
#361A87 #876D1A #35871A
monochromatic
#0D0620 #211054 #361A87 #4B24BA #6841DA

Accessibility & contrast

On white

12.69
#361A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#361A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A87
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A87#FFFFFF#000000##FFFFFF
##361A871.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#073A50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361a87;
/* rgb */ color: rgb(54, 26, 135);
/* oklch */ color: oklch(33.9% 0.166 285.1);
Tailwind
colors: {
  custom: {
    50: '#785bab',
    500: '#361a87',
    950: '#000000',
  },
}
SCSS
$custom: #361a87;
$custom-light: #785bab;
$custom-dark: #000000;
JSON
{
  "hex": "#361a87",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 255.413,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33881,
    "c": 0.16571,
    "h": 285.1
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#361A87
secondary
#9CBA42
accent
#EB3DBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361A87

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

Preview Lab → · Contrast checker → · Palette generator →

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