#361E96#361E96

#361E96 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.180 H 281.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#361E96
RGBrgb(54, 30, 150)
HSLhsl(252, 67%, 35%)
HSVhsv(252, 80%, 59%)
CMYKcmyk(64%, 80%, 0%, 41.2%)
CIE-LABlab(23.39, 44.59, -61.08)
CIE-LCHlch(23.39, 75.62, 306.13°)
OKLaboklab(35.95% 0.0361 -0.1762)
OKLCHoklch(35.95% 0.18 281.6)
XYZxyz(7.4889, 3.9143, 29.2091)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E96 #7E961E
analogous
#1E4296 #361E96 #721E96
triadic
#361E96 #96361E #1E9636
tetradic
#361E96 #961E42 #7E961E #1E9672
square
#361E96 #961E42 #7E961E #1E9672
split-complementary
#361E96 #96721E #42961E
monochromatic
#110A30 #241463 #361E96 #4828C9 #6E52DC

Accessibility & contrast

On white

11.78
#361E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#361E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E96
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E96#FFFFFF#000000##FFFFFF
##361E961.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #361e96;
/* rgb */ color: rgb(54, 30, 150);
/* oklch */ color: oklch(36.0% 0.180 281.6);
Tailwind
colors: {
  custom: {
    50: '#7a5eb6',
    500: '#361e96',
    950: '#000000',
  },
}
SCSS
$custom: #361e96;
$custom-light: #7a5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#361e96",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 252,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35951,
    "c": 0.17989,
    "h": 281.6
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#361E96
secondary
#A9BF50
accent
#EA3EC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #361E96

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

Preview Lab → · Contrast checker → · Palette generator →

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