#361581#361581

#361581 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.163 H 287.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#361581
RGBrgb(54, 21, 129)
HSLhsl(258, 72%, 29%)
HSVhsv(258, 84%, 51%)
CMYKcmyk(58.1%, 83.7%, 0%, 49.4%)
CIE-LABlab(19.66, 42.58, -54.11)
CIE-LCHlch(19.66, 68.86, 308.20°)
OKLaboklab(32.69% 0.0486 -0.1558)
OKLCHoklch(32.69% 0.163 287.3)
XYZxyz(5.7508, 2.9053, 21.0224)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361581 #608115
analogous
#152A81 #361581 #6C1581
triadic
#361581 #813615 #158136
tetradic
#361581 #81152A #608115 #15816C
square
#361581 #81152A #608115 #15816C
split-complementary
#361581 #816C15 #2A8115
monochromatic
#0B041A #200C4C #361581 #4C1EB6 #6733DE

Accessibility & contrast

On white

13.28
#361581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#361581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361581
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361581#FFFFFF#000000##FFFFFF
##3615811.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#13364C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361581;
/* rgb */ color: rgb(54, 21, 129);
/* oklch */ color: oklch(32.7% 0.163 287.3);
Tailwind
colors: {
  custom: {
    50: '#7758a7',
    500: '#361581',
    950: '#000000',
  },
}
SCSS
$custom: #361581;
$custom-light: #7758a7;
$custom-dark: #000000;
JSON
{
  "hex": "#361581",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 258.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32689,
    "c": 0.16319,
    "h": 287.3
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#361581
secondary
#91B63C
accent
#EF39B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #361581

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

Preview Lab → · Contrast checker → · Palette generator →

#361581 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva