#361381#361381

#361381 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.165 H 287.6°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#361381
RGBrgb(54, 19, 129)
HSLhsl(259, 74%, 29%)
HSVhsv(259, 85%, 51%)
CMYKcmyk(58.1%, 85.3%, 0%, 49.4%)
CIE-LABlab(19.37, 43.43, -54.59)
CIE-LCHlch(19.37, 69.76, 308.51°)
OKLaboklab(32.49% 0.0498 -0.1572)
OKLCHoklch(32.49% 0.165 287.6)
XYZxyz(5.7155, 2.8347, 21.0106)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361381 #5E8113
analogous
#132781 #361381 #6D1381
triadic
#361381 #813613 #138136
tetradic
#361381 #811327 #5E8113 #13816D
square
#361381 #811327 #5E8113 #13816D
split-complementary
#361381 #816D13 #278113
monochromatic
#0B041B #200B4C #361381 #4C1BB6 #672EE0

Accessibility & contrast

On white

13.40
#361381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#361381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361381
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361381#FFFFFF#000000##FFFFFF
##3613811.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#13354C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361381;
/* rgb */ color: rgb(54, 19, 129);
/* oklch */ color: oklch(32.5% 0.165 287.6);
Tailwind
colors: {
  custom: {
    50: '#7757a7',
    500: '#361381',
    950: '#000000',
  },
}
SCSS
$custom: #361381;
$custom-light: #7757a7;
$custom-dark: #000000;
JSON
{
  "hex": "#361381",
  "rgb": {
    "r": 54,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 259.091,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32488,
    "c": 0.16487,
    "h": 287.6
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#361381
secondary
#8FB63A
accent
#F137B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #361381

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

Preview Lab → · Contrast checker → · Palette generator →

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