#361B9F#361B9F

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

Color values

HEX#361B9F
RGBrgb(54, 27, 159)
HSLhsl(252, 71%, 36%)
HSVhsv(252, 83%, 62%)
CMYKcmyk(66%, 83%, 0%, 37.6%)
CIE-LABlab(23.90, 48.66, -65.75)
CIE-LCHlch(23.90, 81.79, 306.51°)
OKLaboklab(36.6% 0.0349 -0.1898)
OKLCHoklch(36.6% 0.193 280.4)
XYZxyz(8.1693, 4.0707, 33.1494)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B9F #849F1B
analogous
#1B429F #361B9F #781B9F
triadic
#361B9F #9F361B #1B9F36
tetradic
#361B9F #9F1B42 #849F1B #1B9F78
square
#361B9F #9F1B42 #849F1B #1B9F78
split-complementary
#361B9F #9F781B #429F1B
monochromatic
#120936 #24126B #361B9F #4824D3 #7053E2

Accessibility & contrast

On white

11.58
#361B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#361B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B9F
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B9F#FFFFFF#000000##FFFFFF
##361B9F1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #361b9f;
/* rgb */ color: rgb(54, 27, 159);
/* oklch */ color: oklch(36.6% 0.193 280.4);
Tailwind
colors: {
  custom: {
    50: '#7d5dbd',
    500: '#361b9f',
    950: '#000000',
  },
}
SCSS
$custom: #361b9f;
$custom-light: #7d5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#361b9f",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 252.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36603,
    "c": 0.19294,
    "h": 280.4
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#361B9F
secondary
#ADC551
accent
#EE3AC9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #361B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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