#361B96#361B96

#361B96 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.183 H 282.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#361B96
RGBrgb(54, 27, 150)
HSLhsl(253, 69%, 35%)
HSVhsv(253, 82%, 59%)
CMYKcmyk(64%, 82%, 0%, 41.2%)
CIE-LABlab(22.89, 46.01, -61.89)
CIE-LCHlch(22.89, 77.12, 306.63°)
OKLaboklab(35.61% 0.0378 -0.1786)
OKLCHoklch(35.61% 0.183 282)
XYZxyz(7.4166, 3.7696, 29.1850)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B96 #7B961B
analogous
#1B3D96 #361B96 #741B96
triadic
#361B96 #96361B #1B9636
tetradic
#361B96 #961B3D #7B961B #1B9674
square
#361B96 #961B3D #7B961B #1B9674
split-complementary
#361B96 #96741B #3D961B
monochromatic
#11082E #231262 #361B96 #4924CA #6D4DDF

Accessibility & contrast

On white

11.97
#361B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B96
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B96#FFFFFF#000000##FFFFFF
##361B961.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361b96;
/* rgb */ color: rgb(54, 27, 150);
/* oklch */ color: oklch(35.6% 0.183 282.0);
Tailwind
colors: {
  custom: {
    50: '#7b5cb6',
    500: '#361b96',
    950: '#000000',
  },
}
SCSS
$custom: #361b96;
$custom-light: #7b5cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#361b96",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 253.171,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35609,
    "c": 0.18252,
    "h": 282
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#361B96
secondary
#A7C14C
accent
#EC3BC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361B96

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

Preview Lab → · Contrast checker → · Palette generator →

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