#361F91#361F91

#361F91 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.173 H 282.3°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#361F91
RGBrgb(54, 31, 145)
HSLhsl(252, 65%, 35%)
HSVhsv(252, 79%, 57%)
CMYKcmyk(62.8%, 78.6%, 0%, 43.1%)
CIE-LABlab(23.03, 42.56, -58.58)
CIE-LCHlch(23.03, 72.41, 306.00°)
OKLaboklab(35.54% 0.0369 -0.169)
OKLCHoklch(35.54% 0.173 282.3)
XYZxyz(7.1205, 3.8081, 27.1424)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F91 #7A911F
analogous
#1F4191 #361F91 #6F1F91
triadic
#361F91 #91361F #1F9136
tetradic
#361F91 #911F41 #7A911F #1F916F
square
#361F91 #911F41 #7A911F #1F916F
split-complementary
#361F91 #916F1F #41911F
monochromatic
#10092C #23145F #361F91 #492AC3 #6C51DA

Accessibility & contrast

On white

11.92
#361F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361F91
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F91#FFFFFF#000000##FFFFFF
##361F911.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361f91;
/* rgb */ color: rgb(54, 31, 145);
/* oklch */ color: oklch(35.5% 0.173 282.3);
Tailwind
colors: {
  custom: {
    50: '#795eb2',
    500: '#361f91',
    950: '#000000',
  },
}
SCSS
$custom: #361f91;
$custom-light: #795eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#361f91",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 252.105,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35541,
    "c": 0.17295,
    "h": 282.3
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#361F91
secondary
#A7BD4F
accent
#E840C6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #361F91

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

Preview Lab → · Contrast checker → · Palette generator →

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