#361F96#361F96

#361F96 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.179 H 281.4°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#361F96
RGBrgb(54, 31, 150)
HSLhsl(252, 66%, 35%)
HSVhsv(252, 79%, 59%)
CMYKcmyk(64%, 79.3%, 0%, 41.2%)
CIE-LABlab(23.56, 44.09, -60.80)
CIE-LCHlch(23.56, 75.10, 305.95°)
OKLaboklab(36.07% 0.0355 -0.1754)
OKLCHoklch(36.07% 0.179 281.4)
XYZxyz(7.5146, 3.9657, 29.2177)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F96 #7F961F
analogous
#1F4396 #361F96 #721F96
triadic
#361F96 #96361F #1F9636
tetradic
#361F96 #961F43 #7F961F #1F9672
square
#361F96 #961F43 #7F961F #1F9672
split-complementary
#361F96 #96721F #43961F
monochromatic
#110A31 #241563 #361F96 #4829C9 #6E54DC

Accessibility & contrast

On white

11.71
#361F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#361F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F96
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F96#FFFFFF#000000##FFFFFF
##361F961.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361f96;
/* rgb */ color: rgb(54, 31, 150);
/* oklch */ color: oklch(36.1% 0.179 281.4);
Tailwind
colors: {
  custom: {
    50: '#7a5eb6',
    500: '#361f96',
    950: '#000000',
  },
}
SCSS
$custom: #361f96;
$custom-light: #7a5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#361f96",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 251.597,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3607,
    "c": 0.17898,
    "h": 281.4
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#361F96
secondary
#AABF52
accent
#E93FC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #361F96

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

Preview Lab → · Contrast checker → · Palette generator →

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