#361A89#361A89

#361A89 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.168 H 284.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#361A89
RGBrgb(54, 26, 137)
HSLhsl(255, 68%, 32%)
HSVhsv(255, 81%, 54%)
CMYKcmyk(60.6%, 81%, 0%, 46.3%)
CIE-LABlab(21.32, 42.62, -56.42)
CIE-LCHlch(21.32, 70.71, 307.07°)
OKLaboklab(34.09% 0.0426 -0.1626)
OKLCHoklch(34.09% 0.168 284.7)
XYZxyz(6.4047, 3.3288, 23.9671)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A89 #6D891A
analogous
#1A3689 #361A89 #6E1A89
triadic
#361A89 #89361A #1A8936
tetradic
#361A89 #891A36 #6D891A #1A896E
square
#361A89 #891A36 #6D891A #1A896E
split-complementary
#361A89 #896E1A #36891A
monochromatic
#0D0622 #221056 #361A89 #4A24BC #6942DB

Accessibility & contrast

On white

12.61
#361A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361A89
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A89#FFFFFF#000000##FFFFFF
##361A891.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#033B52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361a89;
/* rgb */ color: rgb(54, 26, 137);
/* oklch */ color: oklch(34.1% 0.168 284.7);
Tailwind
colors: {
  custom: {
    50: '#785bad',
    500: '#361a89',
    950: '#000000',
  },
}
SCSS
$custom: #361a89;
$custom-light: #785bad;
$custom-dark: #000000;
JSON
{
  "hex": "#361a89",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 255.135,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34093,
    "c": 0.16809,
    "h": 284.7
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#361A89
secondary
#9DBC43
accent
#EB3DBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361A89

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

Preview Lab → · Contrast checker → · Palette generator →

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