#361AA1#361AA1

#361AA1 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.196 H 280.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#361AA1
RGBrgb(54, 26, 161)
HSLhsl(252, 72%, 37%)
HSVhsv(252, 84%, 63%)
CMYKcmyk(66.5%, 83.9%, 0%, 36.9%)
CIE-LABlab(23.98, 49.67, -66.83)
CIE-LCHlch(23.98, 83.27, 306.62°)
OKLaboklab(36.73% 0.0346 -0.1929)
OKLCHoklch(36.73% 0.196 280.2)
XYZxyz(8.3217, 4.0956, 34.0633)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361AA1 #85A11A
analogous
#1A42A1 #361AA1 #7A1AA1
triadic
#361AA1 #A1361A #1AA136
tetradic
#361AA1 #A11A42 #85A11A #1AA17A
square
#361AA1 #A11A42 #85A11A #1AA17A
split-complementary
#361AA1 #A17A1A #42A11A
monochromatic
#130938 #24116C #361AA1 #4823D6 #7052E3

Accessibility & contrast

On white

11.54
#361AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#361AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361AA1
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361AA1#FFFFFF#000000##FFFFFF
##361AA11.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #361aa1;
/* rgb */ color: rgb(54, 26, 161);
/* oklch */ color: oklch(36.7% 0.196 280.2);
Tailwind
colors: {
  custom: {
    50: '#7d5dbe',
    500: '#361aa1',
    950: '#000000',
  },
}
SCSS
$custom: #361aa1;
$custom-light: #7d5dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#361aa1",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 252.444,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36726,
    "c": 0.196,
    "h": 280.2
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#361AA1
secondary
#AEC651
accent
#EF39C9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #361AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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