#361F90#361F90

#361F90 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.172 H 282.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#361F90
RGBrgb(54, 31, 144)
HSLhsl(252, 65%, 34%)
HSVhsv(252, 78%, 56%)
CMYKcmyk(62.5%, 78.5%, 0%, 43.5%)
CIE-LABlab(22.92, 42.25, -58.14)
CIE-LCHlch(22.92, 71.87, 306.01°)
OKLaboklab(35.44% 0.0372 -0.1677)
OKLCHoklch(35.44% 0.172 282.5)
XYZxyz(7.0438, 3.7774, 26.7381)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F90 #79901F
analogous
#1F4190 #361F90 #6E1F90
triadic
#361F90 #90361F #1F9036
tetradic
#361F90 #901F41 #79901F #1F906E
square
#361F90 #901F41 #79901F #1F906E
split-complementary
#361F90 #906E1F #41901F
monochromatic
#10092B #23145E #361F90 #492AC2 #6C50D9

Accessibility & contrast

On white

11.96
#361F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361F90
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F90#FFFFFF#000000##FFFFFF
##361F901.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361f90;
/* rgb */ color: rgb(54, 31, 144);
/* oklch */ color: oklch(35.4% 0.172 282.5);
Tailwind
colors: {
  custom: {
    50: '#795eb2',
    500: '#361f90',
    950: '#000000',
  },
}
SCSS
$custom: #361f90;
$custom-light: #795eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#361f90",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 252.212,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35435,
    "c": 0.17175,
    "h": 282.5
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#361F90
secondary
#A6BC4E
accent
#E840C6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361F90

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

Preview Lab → · Contrast checker → · Palette generator →

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