#481578#481578

#481578 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.154 H 301.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#481578
RGBrgb(72, 21, 120)
HSLhsl(271, 70%, 28%)
HSVhsv(271, 83%, 47%)
CMYKcmyk(40%, 82.5%, 0%, 52.9%)
CIE-LABlab(21.09, 42.78, -45.94)
CIE-LCHlch(21.09, 62.77, 312.96°)
OKLaboklab(33.93% 0.0811 -0.1312)
OKLCHoklch(33.93% 0.154 301.7)
XYZxyz(6.3300, 3.2701, 18.0634)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481578 #457815
analogous
#161578 #481578 #781577
triadic
#481578 #784815 #157848
tetradic
#481578 #781615 #457815 #157778
square
#481578 #781615 #457815 #157778
split-complementary
#481578 #777815 #157816
monochromatic
#10051A #290C44 #481578 #671EAC #862DDA

Accessibility & contrast

On white

12.70
#481578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#481578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481578
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481578#FFFFFF#000000##FFFFFF
##4815781.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#3D3047
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481578;
/* rgb */ color: rgb(72, 21, 120);
/* oklch */ color: oklch(33.9% 0.154 301.7);
Tailwind
colors: {
  custom: {
    50: '#8059a0',
    500: '#481578',
    950: '#000000',
  },
}
SCSS
$custom: #481578;
$custom-light: #8059a0;
$custom-dark: #000000;
JSON
{
  "hex": "#481578",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 270.909,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33932,
    "c": 0.15423,
    "h": 301.7
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#481578
secondary
#73AE3B
accent
#ED3B91
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #481578

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

Preview Lab → · Contrast checker → · Palette generator →

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