#361E8D#361E8D

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

Color values

HEX#361E8D
RGBrgb(54, 30, 141)
HSLhsl(253, 65%, 34%)
HSVhsv(253, 79%, 55%)
CMYKcmyk(61.7%, 78.7%, 0%, 44.7%)
CIE-LABlab(22.43, 41.85, -57.09)
CIE-LCHlch(22.43, 70.78, 306.24°)
OKLaboklab(35% 0.0388 -0.1646)
OKLCHoklch(35% 0.169 283.3)
XYZxyz(6.7918, 3.6354, 25.5380)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E8D #758D1E
analogous
#1E3D8D #361E8D #6D1E8D
triadic
#361E8D #8D361E #1E8D36
tetradic
#361E8D #8D1E3D #758D1E #1E8D6D
square
#361E8D #8D1E3D #758D1E #1E8D6D
split-complementary
#361E8D #8D6D1E #3D8D1E
monochromatic
#0F0928 #23135B #361E8D #4929BF #6B4CD9

Accessibility & contrast

On white

12.16
#361E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#361E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E8D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E8D#FFFFFF#000000##FFFFFF
##361E8D1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361e8d;
/* rgb */ color: rgb(54, 30, 141);
/* oklch */ color: oklch(35.0% 0.169 283.3);
Tailwind
colors: {
  custom: {
    50: '#795daf',
    500: '#361e8d',
    950: '#000000',
  },
}
SCSS
$custom: #361e8d;
$custom-light: #795daf;
$custom-dark: #000000;
JSON
{
  "hex": "#361e8d",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 252.973,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34996,
    "c": 0.16908,
    "h": 283.3
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#361E8D
secondary
#A3BC4B
accent
#E840C4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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