#361B89#361B89

#361B89 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.167 H 284.5°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#361B89
RGBrgb(54, 27, 137)
HSLhsl(255, 67%, 32%)
HSVhsv(255, 80%, 54%)
CMYKcmyk(60.6%, 80.3%, 0%, 46.3%)
CIE-LABlab(21.48, 42.14, -56.14)
CIE-LCHlch(21.48, 70.20, 306.89°)
OKLaboklab(34.21% 0.042 -0.1618)
OKLCHoklch(34.21% 0.167 284.5)
XYZxyz(6.4272, 3.3739, 23.9746)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B89 #6E891B
analogous
#1B3789 #361B89 #6D1B89
triadic
#361B89 #89361B #1B8936
tetradic
#361B89 #891B37 #6E891B #1B896D
square
#361B89 #891B37 #6E891B #1B896D
split-complementary
#361B89 #896D1B #37891B
monochromatic
#0E0723 #221156 #361B89 #4A25BC #6944DA

Accessibility & contrast

On white

12.54
#361B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#361B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B89
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B89#FFFFFF#000000##FFFFFF
##361B891.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#023B52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361b89;
/* rgb */ color: rgb(54, 27, 137);
/* oklch */ color: oklch(34.2% 0.167 284.5);
Tailwind
colors: {
  custom: {
    50: '#785bad',
    500: '#361b89',
    950: '#000000',
  },
}
SCSS
$custom: #361b89;
$custom-light: #785bad;
$custom-dark: #000000;
JSON
{
  "hex": "#361b89",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 254.727,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3421,
    "c": 0.16715,
    "h": 284.5
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #361B89

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

Preview Lab → · Contrast checker → · Palette generator →

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