#361781#361781

#361781 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.161 H 287.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#361781
RGBrgb(54, 23, 129)
HSLhsl(258, 70%, 30%)
HSVhsv(258, 82%, 51%)
CMYKcmyk(58.1%, 82.2%, 0%, 49.4%)
CIE-LABlab(19.97, 41.68, -53.60)
CIE-LCHlch(19.97, 67.90, 307.87°)
OKLaboklab(32.9% 0.0473 -0.1543)
OKLCHoklch(32.9% 0.161 287)
XYZxyz(5.7890, 2.9817, 21.0351)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361781 #628117
analogous
#172D81 #361781 #6B1781
triadic
#361781 #813617 #178136
tetradic
#361781 #81172D #628117 #17816B
square
#361781 #81172D #628117 #17816B
split-complementary
#361781 #816B17 #2D8117
monochromatic
#0B051A #200E4D #361781 #4C20B5 #6737DB

Accessibility & contrast

On white

13.15
#361781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#361781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361781
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361781#FFFFFF#000000##FFFFFF
##3617811.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361781;
/* rgb */ color: rgb(54, 23, 129);
/* oklch */ color: oklch(32.9% 0.161 287.0);
Tailwind
colors: {
  custom: {
    50: '#7759a7',
    500: '#361781',
    950: '#000000',
  },
}
SCSS
$custom: #361781;
$custom-light: #7759a7;
$custom-dark: #000000;
JSON
{
  "hex": "#361781",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 257.547,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32903,
    "c": 0.16139,
    "h": 287
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#361781
secondary
#93B53E
accent
#ED3BB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361781

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

Preview Lab → · Contrast checker → · Palette generator →

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