#361D99#361D99

#361D99 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.184 H 281.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#361D99
RGBrgb(54, 29, 153)
HSLhsl(252, 68%, 36%)
HSVhsv(252, 81%, 60%)
CMYKcmyk(64.7%, 81%, 0%, 40%)
CIE-LABlab(23.55, 45.97, -62.66)
CIE-LCHlch(23.55, 77.72, 306.26°)
OKLaboklab(36.16% 0.0358 -0.1808)
OKLCHoklch(36.16% 0.184 281.2)
XYZxyz(7.7086, 3.9623, 30.4894)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D99 #80991D
analogous
#1D4299 #361D99 #741D99
triadic
#361D99 #99361D #1D9936
tetradic
#361D99 #991D42 #80991D #1D9974
square
#361D99 #991D42 #80991D #1D9974
split-complementary
#361D99 #99741D #42991D
monochromatic
#120932 #241366 #361D99 #4827CC #6E52DE

Accessibility & contrast

On white

11.71
#361D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#361D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D99
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D99#FFFFFF#000000##FFFFFF
##361D991.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #361d99;
/* rgb */ color: rgb(54, 29, 153);
/* oklch */ color: oklch(36.2% 0.184 281.2);
Tailwind
colors: {
  custom: {
    50: '#7b5eb8',
    500: '#361d99',
    950: '#000000',
  },
}
SCSS
$custom: #361d99;
$custom-light: #7b5eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#361d99",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 252.097,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36159,
    "c": 0.18433,
    "h": 281.2
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#361D99
secondary
#ABC151
accent
#EB3DC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #361D99

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

Preview Lab → · Contrast checker → · Palette generator →

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