#361D8E#361D8E

#361D8E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.171 H 283.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#361D8E
RGBrgb(54, 29, 142)
HSLhsl(253, 66%, 34%)
HSVhsv(253, 80%, 56%)
CMYKcmyk(62%, 79.6%, 0%, 44.3%)
CIE-LABlab(22.36, 42.66, -57.82)
CIE-LCHlch(22.36, 71.86, 306.42°)
OKLaboklab(34.98% 0.0391 -0.1667)
OKLCHoklch(34.98% 0.171 283.2)
XYZxyz(6.8417, 3.6155, 25.9233)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D8E #758E1D
analogous
#1D3C8E #361D8E #6E1D8E
triadic
#361D8E #8E361D #1D8E36
tetradic
#361D8E #8E1D3C #758E1D #1D8E6E
square
#361D8E #8E1D3C #758E1D #1D8E6E
split-complementary
#361D8E #8E6E1D #3C8E1D
monochromatic
#0F0828 #23135B #361D8E #4927C1 #6B4BDA

Accessibility & contrast

On white

12.19
#361D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361D8E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D8E#FFFFFF#000000##FFFFFF
##361D8E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361d8e;
/* rgb */ color: rgb(54, 29, 142);
/* oklch */ color: oklch(35.0% 0.171 283.2);
Tailwind
colors: {
  custom: {
    50: '#795db0',
    500: '#361d8e',
    950: '#000000',
  },
}
SCSS
$custom: #361d8e;
$custom-light: #795db0;
$custom-dark: #000000;
JSON
{
  "hex": "#361d8e",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 253.274,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34978,
    "c": 0.17125,
    "h": 283.2
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#361D8E
secondary
#A3BD4A
accent
#E93FC3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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