#361D8D#361D8D

#361D8D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.170 H 283.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#361D8D
RGBrgb(54, 29, 141)
HSLhsl(253, 66%, 33%)
HSVhsv(253, 79%, 55%)
CMYKcmyk(61.7%, 79.4%, 0%, 44.7%)
CIE-LABlab(22.25, 42.35, -57.38)
CIE-LCHlch(22.25, 71.32, 306.43°)
OKLaboklab(34.87% 0.0394 -0.1654)
OKLCHoklch(34.87% 0.17 283.4)
XYZxyz(6.7669, 3.5856, 25.5296)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D8D #748D1D
analogous
#1D3C8D #361D8D #6E1D8D
triadic
#361D8D #8D361D #1D8D36
tetradic
#361D8D #8D1D3C #748D1D #1D8D6E
square
#361D8D #8D1D3C #748D1D #1D8D6E
split-complementary
#361D8D #8D6E1D #3C8D1D
monochromatic
#0F0827 #23135A #361D8D #4927C0 #6B4BDA

Accessibility & contrast

On white

12.23
#361D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#361D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D8D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D8D#FFFFFF#000000##FFFFFF
##361D8D1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361d8d;
/* rgb */ color: rgb(54, 29, 141);
/* oklch */ color: oklch(34.9% 0.170 283.4);
Tailwind
colors: {
  custom: {
    50: '#795daf',
    500: '#361d8d',
    950: '#000000',
  },
}
SCSS
$custom: #361d8d;
$custom-light: #795daf;
$custom-dark: #000000;
JSON
{
  "hex": "#361d8d",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 253.393,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34872,
    "c": 0.17005,
    "h": 283.4
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#361D8D
secondary
#A3BC4A
accent
#E93FC3
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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