#361A80#361A80

#361A80 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.157 H 286.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#361A80
RGBrgb(54, 26, 128)
HSLhsl(256, 66%, 30%)
HSVhsv(256, 80%, 50%)
CMYKcmyk(57.8%, 79.7%, 0%, 49.8%)
CIE-LABlab(20.37, 39.94, -52.31)
CIE-LCHlch(20.37, 65.81, 307.36°)
OKLaboklab(33.15% 0.0455 -0.1506)
OKLCHoklch(33.15% 0.157 286.8)
XYZxyz(5.7858, 3.0813, 20.7078)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A80 #64801A
analogous
#1A3180 #361A80 #691A80
triadic
#361A80 #80361A #1A8036
tetradic
#361A80 #801A31 #64801A #1A8069
square
#361A80 #801A31 #64801A #1A8069
split-complementary
#361A80 #80691A #31801A
monochromatic
#0B051A #21104D #361A80 #4B24B3 #673DD8

Accessibility & contrast

On white

12.99
#361A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#361A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A80
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A80#FFFFFF#000000##FFFFFF
##361A801.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#14374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361a80;
/* rgb */ color: rgb(54, 26, 128);
/* oklch */ color: oklch(33.1% 0.157 286.8);
Tailwind
colors: {
  custom: {
    50: '#775aa6',
    500: '#361a80',
    950: '#000000',
  },
}
SCSS
$custom: #361a80;
$custom-light: #775aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#361a80",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 256.471,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33147,
    "c": 0.15731,
    "h": 286.8
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#361A80
secondary
#95B442
accent
#E93FBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361A80

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

Preview Lab → · Contrast checker → · Palette generator →

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