#361E9D#361E9D

#361E9D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.188 H 280.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#361E9D
RGBrgb(54, 30, 157)
HSLhsl(251, 68%, 37%)
HSVhsv(251, 81%, 62%)
CMYKcmyk(65.6%, 80.9%, 0%, 38.4%)
CIE-LABlab(24.15, 46.70, -64.12)
CIE-LCHlch(24.15, 79.32, 306.07°)
OKLaboklab(36.71% 0.034 -0.1851)
OKLCHoklch(36.71% 0.188 280.4)
XYZxyz(8.0695, 4.1465, 32.2669)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E9D #859D1E
analogous
#1E459D #361E9D #761E9D
triadic
#361E9D #9D361E #1E9D36
tetradic
#361E9D #9D1E45 #859D1E #1E9D76
square
#361E9D #9D1E45 #859D1E #1E9D76
split-complementary
#361E9D #9D761E #459D1E
monochromatic
#130A36 #24146A #361E9D #4828D0 #7057DF

Accessibility & contrast

On white

11.48
#361E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#361E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E9D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E9D#FFFFFF#000000##FFFFFF
##361E9D1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #361e9d;
/* rgb */ color: rgb(54, 30, 157);
/* oklch */ color: oklch(36.7% 0.188 280.4);
Tailwind
colors: {
  custom: {
    50: '#7c5ebb',
    500: '#361e9d',
    950: '#000000',
  },
}
SCSS
$custom: #361e9d;
$custom-light: #7c5ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#361e9d",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 251.339,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36708,
    "c": 0.18817,
    "h": 280.4
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#361E9D
secondary
#AEC254
accent
#EB3DCA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #361E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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