#361B8B#361B8B

#361B8B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.170 H 284.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#361B8B
RGBrgb(54, 27, 139)
HSLhsl(254, 67%, 33%)
HSVhsv(254, 81%, 55%)
CMYKcmyk(61.2%, 80.6%, 0%, 45.5%)
CIE-LABlab(21.70, 42.74, -57.04)
CIE-LCHlch(21.70, 71.28, 306.84°)
OKLaboklab(34.42% 0.0414 -0.1644)
OKLCHoklch(34.42% 0.17 284.1)
XYZxyz(6.5720, 3.4318, 24.7372)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B8B #708B1B
analogous
#1B388B #361B8B #6E1B8B
triadic
#361B8B #8B361B #1B8B36
tetradic
#361B8B #8B1B38 #708B1B #1B8B6E
square
#361B8B #8B1B38 #708B1B #1B8B6E
split-complementary
#361B8B #8B6E1B #388B1B
monochromatic
#0E0725 #221158 #361B8B #4A25BE #6945DB

Accessibility & contrast

On white

12.45
#361B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#361B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B8B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B8B#FFFFFF#000000##FFFFFF
##361B8B1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361b8b;
/* rgb */ color: rgb(54, 27, 139);
/* oklch */ color: oklch(34.4% 0.170 284.1);
Tailwind
colors: {
  custom: {
    50: '#795cae',
    500: '#361b8b',
    950: '#000000',
  },
}
SCSS
$custom: #361b8b;
$custom-light: #795cae;
$custom-dark: #000000;
JSON
{
  "hex": "#361b8b",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 254.464,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34422,
    "c": 0.16954,
    "h": 284.1
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#361B8B
secondary
#A0BC45
accent
#EA3DC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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