#361B8A#361B8A

#361B8A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.168 H 284.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#361B8A
RGBrgb(54, 27, 138)
HSLhsl(255, 67%, 32%)
HSVhsv(255, 80%, 54%)
CMYKcmyk(60.9%, 80.4%, 0%, 45.9%)
CIE-LABlab(21.59, 42.44, -56.59)
CIE-LCHlch(21.59, 70.74, 306.87°)
OKLaboklab(34.32% 0.0417 -0.1631)
OKLCHoklch(34.32% 0.168 284.3)
XYZxyz(6.4993, 3.4027, 24.3541)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B8A #6F8A1B
analogous
#1B378A #361B8A #6E1B8A
triadic
#361B8A #8A361B #1B8A36
tetradic
#361B8A #8A1B37 #6F8A1B #1B8A6E
square
#361B8A #8A1B37 #6F8A1B #1B8A6E
split-complementary
#361B8A #8A6E1B #378A1B
monochromatic
#0E0724 #221157 #361B8A #4A25BD #6945DB

Accessibility & contrast

On white

12.50
#361B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#361B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B8A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B8A#FFFFFF#000000##FFFFFF
##361B8A1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361b8a;
/* rgb */ color: rgb(54, 27, 138);
/* oklch */ color: oklch(34.3% 0.168 284.3);
Tailwind
colors: {
  custom: {
    50: '#785cad',
    500: '#361b8a',
    950: '#000000',
  },
}
SCSS
$custom: #361b8a;
$custom-light: #785cad;
$custom-dark: #000000;
JSON
{
  "hex": "#361b8a",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 254.595,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34316,
    "c": 0.16835,
    "h": 284.3
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#361B8A
secondary
#9FBC45
accent
#EA3EC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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