#361C78#361C78

#361C78 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.145 H 288.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#361C78
RGBrgb(54, 28, 120)
HSLhsl(257, 62%, 29%)
HSVhsv(257, 77%, 47%)
CMYKcmyk(55%, 76.7%, 0%, 52.9%)
CIE-LABlab(19.93, 36.48, -47.94)
CIE-LCHlch(19.93, 60.24, 307.27°)
OKLaboklab(32.59% 0.0461 -0.1378)
OKLCHoklch(32.59% 0.145 288.5)
XYZxyz(5.3257, 2.9706, 18.0584)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C78 #5E781C
analogous
#1C3078 #361C78 #641C78
triadic
#361C78 #78361C #1C7836
tetradic
#361C78 #781C30 #5E781C #1C7864
square
#361C78 #781C30 #5E781C #1C7864
split-complementary
#361C78 #78641C #30781C
monochromatic
#0B0619 #201046 #361C78 #4C28AA #673DD2

Accessibility & contrast

On white

13.17
#361C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#361C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C78
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C78#FFFFFF#000000##FFFFFF
##361C781.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#1C3548
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361c78;
/* rgb */ color: rgb(54, 28, 120);
/* oklch */ color: oklch(32.6% 0.145 288.5);
Tailwind
colors: {
  custom: {
    50: '#755ba0',
    500: '#361c78',
    950: '#000000',
  },
}
SCSS
$custom: #361c78;
$custom-light: #755ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#361c78",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 256.957,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32593,
    "c": 0.14533,
    "h": 288.5
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#361C78
secondary
#8FAC44
accent
#E543B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361C78

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

Preview Lab → · Contrast checker → · Palette generator →

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