#361D89#361D89

#361D89 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.165 H 284.2°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#361D89
RGBrgb(54, 29, 137)
HSLhsl(254, 65%, 33%)
HSVhsv(254, 79%, 54%)
CMYKcmyk(60.6%, 78.8%, 0%, 46.3%)
CIE-LABlab(21.83, 41.14, -55.57)
CIE-LCHlch(21.83, 69.14, 306.51°)
OKLaboklab(34.45% 0.0406 -0.1601)
OKLCHoklch(34.45% 0.165 284.2)
XYZxyz(6.4747, 3.4687, 23.9904)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D89 #70891D
analogous
#1D3A89 #361D89 #6C1D89
triadic
#361D89 #89361D #1D8936
tetradic
#361D89 #891D3A #70891D #1D896C
square
#361D89 #891D3A #70891D #1D896C
split-complementary
#361D89 #896C1D #3A891D
monochromatic
#0E0824 #221256 #361D89 #4A28BC #6948D8

Accessibility & contrast

On white

12.40
#361D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361D89
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D89#FFFFFF#000000##FFFFFF
##361D891.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361d89;
/* rgb */ color: rgb(54, 29, 137);
/* oklch */ color: oklch(34.5% 0.165 284.2);
Tailwind
colors: {
  custom: {
    50: '#785dad',
    500: '#361d89',
    950: '#000000',
  },
}
SCSS
$custom: #361d89;
$custom-light: #785dad;
$custom-dark: #000000;
JSON
{
  "hex": "#361d89",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 253.889,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34453,
    "c": 0.16522,
    "h": 284.2
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#361D89
secondary
#A0BA47
accent
#E840C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361D89

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

Preview Lab → · Contrast checker → · Palette generator →

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