#361996#361996

#361996 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.184 H 282.2°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#361996
RGBrgb(54, 25, 150)
HSLhsl(254, 71%, 34%)
HSVhsv(254, 83%, 59%)
CMYKcmyk(64%, 83.3%, 0%, 41.2%)
CIE-LABlab(22.59, 46.91, -62.40)
CIE-LCHlch(22.59, 78.07, 306.93°)
OKLaboklab(35.4% 0.0389 -0.18)
OKLCHoklch(35.4% 0.184 282.2)
XYZxyz(7.3723, 3.6810, 29.1703)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361996 #799619
analogous
#193B96 #361996 #751996
triadic
#361996 #963619 #199636
tetradic
#361996 #96193B #799619 #199675
square
#361996 #96193B #799619 #199675
split-complementary
#361996 #967519 #3B9619
monochromatic
#10082D #231062 #361996 #4922CA #6C49E1

Accessibility & contrast

On white

12.09
#361996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#361996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361996
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361996#FFFFFF#000000##FFFFFF
##3619961.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.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: #361996;
/* rgb */ color: rgb(54, 25, 150);
/* oklch */ color: oklch(35.4% 0.184 282.2);
Tailwind
colors: {
  custom: {
    50: '#7b5bb6',
    500: '#361996',
    950: '#000000',
  },
}
SCSS
$custom: #361996;
$custom-light: #7b5bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#361996",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 253.92,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35397,
    "c": 0.18416,
    "h": 282.2
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#361996
secondary
#A6C249
accent
#EE3AC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361996

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

Preview Lab → · Contrast checker → · Palette generator →

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