#361578#361578

#361578 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.153 H 289.8°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#361578
RGBrgb(54, 21, 120)
HSLhsl(260, 70%, 28%)
HSVhsv(260, 83%, 47%)
CMYKcmyk(55%, 82.5%, 0%, 52.9%)
CIE-LABlab(18.70, 39.99, -49.96)
CIE-LCHlch(18.70, 63.99, 308.68°)
OKLaboklab(31.73% 0.0517 -0.1437)
OKLCHoklch(31.73% 0.153 289.8)
XYZxyz(5.1787, 2.6764, 18.0094)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361578 #577815
analogous
#152578 #361578 #671578
triadic
#361578 #783615 #157836
tetradic
#361578 #781525 #577815 #157867
square
#361578 #781525 #577815 #157867
split-complementary
#361578 #786715 #257815
monochromatic
#0C051A #1F0C44 #361578 #4D1EAC #672DDA

Accessibility & contrast

On white

13.68
#361578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#361578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361578
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361578#FFFFFF#000000##FFFFFF
##3615781.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002B76
Tritanopia (blue-blind)
#1D3247
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #361578;
/* rgb */ color: rgb(54, 21, 120);
/* oklch */ color: oklch(31.7% 0.153 289.8);
Tailwind
colors: {
  custom: {
    50: '#7657a0',
    500: '#361578',
    950: '#000000',
  },
}
SCSS
$custom: #361578;
$custom-light: #7657a0;
$custom-dark: #000000;
JSON
{
  "hex": "#361578",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 260,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31734,
    "c": 0.15269,
    "h": 289.8
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#361578
secondary
#87AE3B
accent
#ED3BB2
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09030F
muted
#7B787F

Preview Lab

Preview with #361578

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

Preview Lab → · Contrast checker → · Palette generator →

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