#361C96#361C96

#361C96 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.182 H 281.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#361C96
RGBrgb(54, 28, 150)
HSLhsl(253, 69%, 35%)
HSVhsv(253, 81%, 59%)
CMYKcmyk(64%, 81.3%, 0%, 41.2%)
CIE-LABlab(23.05, 45.55, -61.63)
CIE-LCHlch(23.05, 76.63, 306.47°)
OKLaboklab(35.72% 0.0373 -0.1778)
OKLCHoklch(35.72% 0.182 281.8)
XYZxyz(7.4399, 3.8162, 29.1928)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C96 #7C961C
analogous
#1C3F96 #361C96 #731C96
triadic
#361C96 #96361C #1C9636
tetradic
#361C96 #961C3F #7C961C #1C9673
square
#361C96 #961C3F #7C961C #1C9673
split-complementary
#361C96 #96731C #3F961C
monochromatic
#11092F #231262 #361C96 #4926CA #6D4EDE

Accessibility & contrast

On white

11.91
#361C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#361C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C96
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C96#FFFFFF#000000##FFFFFF
##361C961.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361c96;
/* rgb */ color: rgb(54, 28, 150);
/* oklch */ color: oklch(35.7% 0.182 281.8);
Tailwind
colors: {
  custom: {
    50: '#7b5db6',
    500: '#361c96',
    950: '#000000',
  },
}
SCSS
$custom: #361c96;
$custom-light: #7b5db6;
$custom-dark: #000000;
JSON
{
  "hex": "#361c96",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 252.787,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3572,
    "c": 0.18166,
    "h": 281.8
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#361C96
secondary
#A8C14D
accent
#EB3CC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361C96

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

Preview Lab → · Contrast checker → · Palette generator →

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