#361D81#361D81

#361D81 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.155 H 286.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#361D81
RGBrgb(54, 29, 129)
HSLhsl(255, 63%, 31%)
HSVhsv(255, 78%, 51%)
CMYKcmyk(58.1%, 77.5%, 0%, 49.4%)
CIE-LABlab(21.01, 38.70, -51.89)
CIE-LCHlch(21.01, 64.73, 306.71°)
OKLaboklab(33.63% 0.0429 -0.1494)
OKLCHoklch(33.63% 0.155 286)
XYZxyz(5.9219, 3.2476, 21.0794)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D81 #68811D
analogous
#1D3681 #361D81 #681D81
triadic
#361D81 #81361D #1D8136
tetradic
#361D81 #811D36 #68811D #1D8168
square
#361D81 #811D36 #68811D #1D8168
split-complementary
#361D81 #81681D #36811D
monochromatic
#0C071D #21124F #361D81 #4B28B3 #6844D5

Accessibility & contrast

On white

12.73
#361D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#361D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D81
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D81#FFFFFF#000000##FFFFFF
##361D811.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00307F
Tritanopia (blue-blind)
#12394E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361d81;
/* rgb */ color: rgb(54, 29, 129);
/* oklch */ color: oklch(33.6% 0.155 286.0);
Tailwind
colors: {
  custom: {
    50: '#765ca7',
    500: '#361d81',
    950: '#000000',
  },
}
SCSS
$custom: #361d81;
$custom-light: #765ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#361d81",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 255,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33629,
    "c": 0.15541,
    "h": 286
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#361D81
secondary
#99B446
accent
#E641BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361D81

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

Preview Lab → · Contrast checker → · Palette generator →

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