#361F84#361F84

#361F84 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.157 H 285.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#361F84
RGBrgb(54, 31, 132)
HSLhsl(254, 62%, 32%)
HSVhsv(254, 77%, 52%)
CMYKcmyk(59.1%, 76.5%, 0%, 48.2%)
CIE-LABlab(21.69, 38.55, -52.67)
CIE-LCHlch(21.69, 65.27, 306.20°)
OKLaboklab(34.2% 0.0405 -0.1517)
OKLCHoklch(34.2% 0.157 285)
XYZxyz(6.1749, 3.4298, 22.1620)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F84 #6D841F
analogous
#1F3B84 #361F84 #691F84
triadic
#361F84 #84361F #1F8436
tetradic
#361F84 #841F3B #6D841F #1F8469
square
#361F84 #841F3B #6D841F #1F8469
split-complementary
#361F84 #84691F #3B841F
monochromatic
#0D0821 #221352 #361F84 #4A2BB6 #6949D4

Accessibility & contrast

On white

12.46
#361F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#361F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F84
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F84#FFFFFF#000000##FFFFFF
##361F841.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#0D3B50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361f84;
/* rgb */ color: rgb(54, 31, 132);
/* oklch */ color: oklch(34.2% 0.157 285.0);
Tailwind
colors: {
  custom: {
    50: '#775da9',
    500: '#361f84',
    950: '#000000',
  },
}
SCSS
$custom: #361f84;
$custom-light: #775da9;
$custom-dark: #000000;
JSON
{
  "hex": "#361f84",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 253.663,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34199,
    "c": 0.15699,
    "h": 285
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#361F84
secondary
#9DB748
accent
#E543C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361F84

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

Preview Lab → · Contrast checker → · Palette generator →

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