#361A9D#361A9D

#361A9D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.191 H 280.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#361A9D
RGBrgb(54, 26, 157)
HSLhsl(253, 72%, 36%)
HSVhsv(253, 83%, 62%)
CMYKcmyk(65.6%, 83.4%, 0%, 38.4%)
CIE-LABlab(23.53, 48.51, -65.14)
CIE-LCHlch(23.53, 81.22, 306.67°)
OKLaboklab(36.28% 0.036 -0.188)
OKLCHoklch(36.28% 0.191 280.8)
XYZxyz(7.9746, 3.9568, 32.2352)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A9D #819D1A
analogous
#1A409D #361A9D #771A9D
triadic
#361A9D #9D361A #1A9D36
tetradic
#361A9D #9D1A40 #819D1A #1A9D77
square
#361A9D #9D1A40 #819D1A #1A9D77
split-complementary
#361A9D #9D771A #409D1A
monochromatic
#120934 #241168 #361A9D #4823D2 #6F4FE2

Accessibility & contrast

On white

11.72
#361A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#361A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A9D
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A9D#FFFFFF#000000##FFFFFF
##361A9D1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #361a9d;
/* rgb */ color: rgb(54, 26, 157);
/* oklch */ color: oklch(36.3% 0.191 280.8);
Tailwind
colors: {
  custom: {
    50: '#7c5cbb',
    500: '#361a9d',
    950: '#000000',
  },
}
SCSS
$custom: #361a9d;
$custom-light: #7c5cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#361a9d",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 252.824,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36278,
    "c": 0.19142,
    "h": 280.8
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#361A9D
secondary
#ABC44E
accent
#EE39C8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #361A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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