#361A88#361A88

#361A88 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.167 H 284.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#361A88
RGBrgb(54, 26, 136)
HSLhsl(255, 68%, 32%)
HSVhsv(255, 81%, 53%)
CMYKcmyk(60.3%, 80.9%, 0%, 46.7%)
CIE-LABlab(21.21, 42.33, -55.97)
CIE-LCHlch(21.21, 70.17, 307.10°)
OKLaboklab(33.99% 0.043 -0.1613)
OKLCHoklch(33.99% 0.167 284.9)
XYZxyz(6.3333, 3.3002, 23.5911)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A88 #6C881A
analogous
#1A3588 #361A88 #6D1A88
triadic
#361A88 #88361A #1A8836
tetradic
#361A88 #881A35 #6C881A #1A886D
square
#361A88 #881A35 #6C881A #1A886D
split-complementary
#361A88 #886D1A #35881A
monochromatic
#0D0621 #221055 #361A88 #4A24BB #6942DB

Accessibility & contrast

On white

12.65
#361A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#361A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A88
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A88#FFFFFF#000000##FFFFFF
##361A881.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#053B51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361a88;
/* rgb */ color: rgb(54, 26, 136);
/* oklch */ color: oklch(34.0% 0.167 284.9);
Tailwind
colors: {
  custom: {
    50: '#785bac',
    500: '#361a88',
    950: '#000000',
  },
}
SCSS
$custom: #361a88;
$custom-light: #785bac;
$custom-dark: #000000;
JSON
{
  "hex": "#361a88",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 255.273,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33987,
    "c": 0.1669,
    "h": 284.9
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #361A88

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

Preview Lab → · Contrast checker → · Palette generator →

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