#361E89#361E89

#361E89 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.164 H 284.1°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#361E89
RGBrgb(54, 30, 137)
HSLhsl(253, 64%, 33%)
HSVhsv(253, 78%, 54%)
CMYKcmyk(60.6%, 78.1%, 0%, 46.3%)
CIE-LABlab(22.01, 40.62, -55.27)
CIE-LCHlch(22.01, 68.60, 306.31°)
OKLaboklab(34.58% 0.0399 -0.1593)
OKLCHoklch(34.58% 0.164 284.1)
XYZxyz(6.4996, 3.5185, 23.9987)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E89 #71891E
analogous
#1E3B89 #361E89 #6B1E89
triadic
#361E89 #89361E #1E8936
tetradic
#361E89 #891E3B #71891E #1E896B
square
#361E89 #891E3B #71891E #1E896B
split-complementary
#361E89 #896B1E #3B891E
monochromatic
#0E0825 #221357 #361E89 #4A29BB #6A4AD7

Accessibility & contrast

On white

12.33
#361E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#361E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E89
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E89#FFFFFF#000000##FFFFFF
##361E891.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#023D52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361e89;
/* rgb */ color: rgb(54, 30, 137);
/* oklch */ color: oklch(34.6% 0.164 284.1);
Tailwind
colors: {
  custom: {
    50: '#785dac',
    500: '#361e89',
    950: '#000000',
  },
}
SCSS
$custom: #361e89;
$custom-light: #785dac;
$custom-dark: #000000;
JSON
{
  "hex": "#361e89",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 253.458,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34579,
    "c": 0.16421,
    "h": 284.1
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#361E89
secondary
#A0BA49
accent
#E741C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361E89

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

Preview Lab → · Contrast checker → · Palette generator →

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