#361A8B#361A8B

#361A8B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.170 H 284.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#361A8B
RGBrgb(54, 26, 139)
HSLhsl(255, 68%, 32%)
HSVhsv(255, 81%, 55%)
CMYKcmyk(61.2%, 81.3%, 0%, 45.5%)
CIE-LABlab(21.53, 43.22, -57.32)
CIE-LCHlch(21.53, 71.79, 307.02°)
OKLaboklab(34.31% 0.042 -0.1652)
OKLCHoklch(34.31% 0.17 284.3)
XYZxyz(6.5495, 3.3867, 24.7297)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A8B #6F8B1A
analogous
#1A378B #361A8B #6E1A8B
triadic
#361A8B #8B361A #1A8B36
tetradic
#361A8B #8B1A37 #6F8B1A #1A8B6E
square
#361A8B #8B1A37 #6F8B1A #1A8B6E
split-complementary
#361A8B #8B6E1A #378B1A
monochromatic
#0E0724 #221057 #361A8B #4A24BF #6943DC

Accessibility & contrast

On white

12.52
#361A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#361A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A8B
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A8B#FFFFFF#000000##FFFFFF
##361A8B1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361a8b;
/* rgb */ color: rgb(54, 26, 139);
/* oklch */ color: oklch(34.3% 0.170 284.3);
Tailwind
colors: {
  custom: {
    50: '#795bae',
    500: '#361a8b',
    950: '#000000',
  },
}
SCSS
$custom: #361a8b;
$custom-light: #795bae;
$custom-dark: #000000;
JSON
{
  "hex": "#361a8b",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 254.867,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34307,
    "c": 0.17046,
    "h": 284.3
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#361A8B
secondary
#9FBD44
accent
#EB3CC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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