#361F92#361F92

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

Color values

HEX#361F92
RGBrgb(54, 31, 146)
HSLhsl(252, 65%, 35%)
HSVhsv(252, 79%, 57%)
CMYKcmyk(63%, 78.8%, 0%, 42.7%)
CIE-LABlab(23.13, 42.87, -59.03)
CIE-LCHlch(23.13, 72.95, 305.99°)
OKLaboklab(35.65% 0.0367 -0.1703)
OKLCHoklch(35.65% 0.174 282.2)
XYZxyz(7.1980, 3.8391, 27.5503)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F92 #7B921F
analogous
#1F4292 #361F92 #701F92
triadic
#361F92 #92361F #1F9236
tetradic
#361F92 #921F42 #7B921F #1F9270
square
#361F92 #921F42 #7B921F #1F9270
split-complementary
#361F92 #92701F #42921F
monochromatic
#110A2D #231460 #361F92 #492AC4 #6D51DA

Accessibility & contrast

On white

11.88
#361F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#361F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F92
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F92#FFFFFF#000000##FFFFFF
##361F921.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #361f92;
/* rgb */ color: rgb(54, 31, 146);
/* oklch */ color: oklch(35.6% 0.174 282.2);
Tailwind
colors: {
  custom: {
    50: '#7a5eb3',
    500: '#361f92',
    950: '#000000',
  },
}
SCSS
$custom: #361f92;
$custom-light: #7a5eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#361f92",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 252,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35646,
    "c": 0.17416,
    "h": 282.2
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #361F92

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

Preview Lab → · Contrast checker → · Palette generator →

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