#361EA1#361EA1

#361EA1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.193 H 279.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#361EA1
RGBrgb(54, 30, 161)
HSLhsl(251, 69%, 37%)
HSVhsv(251, 81%, 63%)
CMYKcmyk(66.5%, 81.4%, 0%, 36.9%)
CIE-LABlab(24.59, 47.89, -65.82)
CIE-LCHlch(24.59, 81.40, 306.04°)
OKLaboklab(37.15% 0.0328 -0.19)
OKLCHoklch(37.15% 0.193 279.8)
XYZxyz(8.4166, 4.2853, 34.0949)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361EA1 #89A11E
analogous
#1E48A1 #361EA1 #771EA1
triadic
#361EA1 #A1361E #1EA136
tetradic
#361EA1 #A11E48 #89A11E #1EA177
square
#361EA1 #A11E48 #89A11E #1EA177
split-complementary
#361EA1 #A1771E #48A11E
monochromatic
#130B3A #25146D #361EA1 #4728D5 #7259E0

Accessibility & contrast

On white

11.31
#361EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#361EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361EA1
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361EA1#FFFFFF#000000##FFFFFF
##361EA11.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #361ea1;
/* rgb */ color: rgb(54, 30, 161);
/* oklch */ color: oklch(37.1% 0.193 279.8);
Tailwind
colors: {
  custom: {
    50: '#7d5fbe',
    500: '#361ea1',
    950: '#000000',
  },
}
SCSS
$custom: #361ea1;
$custom-light: #7d5fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#361ea1",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 250.992,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37146,
    "c": 0.19285,
    "h": 279.8
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#361EA1
secondary
#B0C457
accent
#EB3CCB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #361EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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