#481474#481474

#481474 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.151 H 303.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#481474
RGBrgb(72, 20, 116)
HSLhsl(273, 71%, 27%)
HSVhsv(273, 83%, 45%)
CMYKcmyk(37.9%, 82.8%, 0%, 54.5%)
CIE-LABlab(20.59, 42.18, -44.19)
CIE-LCHlch(20.59, 61.09, 313.67°)
OKLaboklab(33.47% 0.0831 -0.1261)
OKLCHoklch(33.47% 0.151 303.4)
XYZxyz(6.0743, 3.1390, 16.8055)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481474 #407414
analogous
#181474 #481474 #741470
triadic
#481474 #744814 #147448
tetradic
#481474 #741814 #407414 #147074
square
#481474 #741814 #407414 #147074
split-complementary
#481474 #707414 #147418
monochromatic
#10051A #280B40 #481474 #681DA8 #8928DA

Accessibility & contrast

On white

12.90
#481474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#481474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481474
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481474#FFFFFF#000000##FFFFFF
##4814741.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#3F2E44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481474;
/* rgb */ color: rgb(72, 20, 116);
/* oklch */ color: oklch(33.5% 0.151 303.4);
Tailwind
colors: {
  custom: {
    50: '#80599d',
    500: '#481474',
    950: '#000000',
  },
}
SCSS
$custom: #481474;
$custom-light: #80599d;
$custom-dark: #000000;
JSON
{
  "hex": "#481474",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 272.5,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33469,
    "c": 0.15101,
    "h": 303.4
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#481474
secondary
#6DAA3A
accent
#ED3A8C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481474

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

Preview Lab → · Contrast checker → · Palette generator →

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