#361976#361976

#361976 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.146 H 289.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#361976
RGBrgb(54, 25, 118)
HSLhsl(259, 65%, 28%)
HSVhsv(259, 79%, 46%)
CMYKcmyk(54.2%, 78.8%, 0%, 53.7%)
CIE-LABlab(19.17, 37.46, -47.90)
CIE-LCHlch(19.17, 60.81, 308.02°)
OKLaboklab(32% 0.0492 -0.1377)
OKLCHoklch(32% 0.146 289.7)
XYZxyz(5.1380, 2.7873, 17.4033)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361976 #597619
analogous
#192A76 #361976 #641976
triadic
#361976 #763619 #197636
tetradic
#361976 #76192A #597619 #197664
square
#361976 #76192A #597619 #197664
split-complementary
#361976 #766419 #2A7619
monochromatic
#0C0519 #1F0E43 #361976 #4D24A8 #6735D4

Accessibility & contrast

On white

13.48
#361976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#361976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361976
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361976#FFFFFF#000000##FFFFFF
##3619761.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#1E3346
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361976;
/* rgb */ color: rgb(54, 25, 118);
/* oklch */ color: oklch(32.0% 0.146 289.7);
Tailwind
colors: {
  custom: {
    50: '#75599e',
    500: '#361976',
    950: '#000000',
  },
}
SCSS
$custom: #361976;
$custom-light: #75599e;
$custom-dark: #000000;
JSON
{
  "hex": "#361976",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 258.71,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32002,
    "c": 0.14621,
    "h": 289.7
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#361976
secondary
#8AAB40
accent
#E840B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361976

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

Preview Lab → · Contrast checker → · Palette generator →

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