#481479#481479

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

Color values

HEX#481479
RGBrgb(72, 20, 121)
HSLhsl(271, 72%, 28%)
HSVhsv(271, 83%, 47%)
CMYKcmyk(40.5%, 83.5%, 0%, 52.5%)
CIE-LABlab(21.05, 43.43, -46.65)
CIE-LCHlch(21.05, 63.73, 312.95°)
OKLaboklab(33.93% 0.0816 -0.1333)
OKLCHoklch(33.93% 0.156 301.5)
XYZxyz(6.3730, 3.2585, 18.3786)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481479 #457914
analogous
#151479 #481479 #791477
triadic
#481479 #794814 #147948
tetradic
#481479 #791514 #457914 #147779
square
#481479 #791514 #457914 #147779
split-complementary
#481479 #777914 #147915
monochromatic
#10041A #290B44 #481479 #671DAE #862BDC

Accessibility & contrast

On white

12.71
#481479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481479
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481479#FFFFFF#000000##FFFFFF
##4814791.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481479;
/* rgb */ color: rgb(72, 20, 121);
/* oklch */ color: oklch(33.9% 0.156 301.5);
Tailwind
colors: {
  custom: {
    50: '#8159a1',
    500: '#481479',
    950: '#000000',
  },
}
SCSS
$custom: #481479;
$custom-light: #8159a1;
$custom-dark: #000000;
JSON
{
  "hex": "#481479",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 270.891,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3393,
    "c": 0.15627,
    "h": 301.5
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#481479
secondary
#73AF3A
accent
#EE3991
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481479

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

Preview Lab → · Contrast checker → · Palette generator →

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