#361A96#361A96

#361A96 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.183 H 282.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#361A96
RGBrgb(54, 26, 150)
HSLhsl(254, 70%, 35%)
HSVhsv(254, 83%, 59%)
CMYKcmyk(64%, 82.7%, 0%, 41.2%)
CIE-LABlab(22.74, 46.47, -62.15)
CIE-LCHlch(22.74, 77.60, 306.78°)
OKLaboklab(35.5% 0.0384 -0.1793)
OKLCHoklch(35.5% 0.183 282.1)
XYZxyz(7.3940, 3.7245, 29.1775)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A96 #7A961A
analogous
#1A3C96 #361A96 #741A96
triadic
#361A96 #96361A #1A9636
tetradic
#361A96 #961A3C #7A961A #1A9674
square
#361A96 #961A3C #7A961A #1A9674
split-complementary
#361A96 #96741A #3C961A
monochromatic
#10082E #231162 #361A96 #4923CA #6C4BE0

Accessibility & contrast

On white

12.03
#361A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#361A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A96
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A96#FFFFFF#000000##FFFFFF
##361A961.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#004059
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361a96;
/* rgb */ color: rgb(54, 26, 150);
/* oklch */ color: oklch(35.5% 0.183 282.1);
Tailwind
colors: {
  custom: {
    50: '#7b5cb6',
    500: '#361a96',
    950: '#000000',
  },
}
SCSS
$custom: #361a96;
$custom-light: #7b5cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#361a96",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 253.548,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35502,
    "c": 0.18336,
    "h": 282.1
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#361A96
secondary
#A7C24A
accent
#ED3BC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361A96

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

Preview Lab → · Contrast checker → · Palette generator →

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