#361F89#361F89

#361F89 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.163 H 283.9°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#361F89
RGBrgb(54, 31, 137)
HSLhsl(253, 63%, 33%)
HSVhsv(253, 77%, 54%)
CMYKcmyk(60.6%, 77.4%, 0%, 46.3%)
CIE-LABlab(22.20, 40.10, -54.97)
CIE-LCHlch(22.20, 68.04, 306.11°)
OKLaboklab(34.71% 0.0392 -0.1584)
OKLCHoklch(34.71% 0.163 283.9)
XYZxyz(6.5253, 3.5700, 24.0073)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F89 #72891F
analogous
#1F3D89 #361F89 #6B1F89
triadic
#361F89 #89361F #1F8936
tetradic
#361F89 #891F3D #72891F #1F896B
square
#361F89 #891F3D #72891F #1F896B
split-complementary
#361F89 #896B1F #3D891F
monochromatic
#0F0825 #221457 #361F89 #4A2ABB #6A4CD6

Accessibility & contrast

On white

12.25
#361F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#361F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F89
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F89#FFFFFF#000000##FFFFFF
##361F891.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#023D53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361f89;
/* rgb */ color: rgb(54, 31, 137);
/* oklch */ color: oklch(34.7% 0.163 283.9);
Tailwind
colors: {
  custom: {
    50: '#785eac',
    500: '#361f89',
    950: '#000000',
  },
}
SCSS
$custom: #361f89;
$custom-light: #785eac;
$custom-dark: #000000;
JSON
{
  "hex": "#361f89",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 253.019,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34708,
    "c": 0.16318,
    "h": 283.9
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#361F89
secondary
#A1B94B
accent
#E642C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361F89

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

Preview Lab → · Contrast checker → · Palette generator →

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