#481572#481572

#481572 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.148 H 304.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#481572
RGBrgb(72, 21, 114)
HSLhsl(273, 69%, 26%)
HSVhsv(273, 82%, 45%)
CMYKcmyk(36.8%, 81.6%, 0%, 55.3%)
CIE-LABlab(20.55, 41.28, -42.97)
CIE-LCHlch(20.55, 59.58, 313.85°)
OKLaboklab(33.39% 0.0828 -0.1225)
OKLCHoklch(33.39% 0.148 304.1)
XYZxyz(5.9772, 3.1290, 16.2054)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481572 #3F7215
analogous
#191572 #481572 #72156E
triadic
#481572 #724815 #157248
tetradic
#481572 #721915 #3F7215 #156E72
square
#481572 #721915 #3F7215 #156E72
split-complementary
#481572 #6E7215 #157219
monochromatic
#10051A #270B3E #481572 #691FA6 #892AD8

Accessibility & contrast

On white

12.92
#481572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481572
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481572#FFFFFF#000000##FFFFFF
##4815721.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#402D43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481572;
/* rgb */ color: rgb(72, 21, 114);
/* oklch */ color: oklch(33.4% 0.148 304.1);
Tailwind
colors: {
  custom: {
    50: '#80599b',
    500: '#481572',
    950: '#000000',
  },
}
SCSS
$custom: #481572;
$custom-light: #80599b;
$custom-dark: #000000;
JSON
{
  "hex": "#481572",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 272.903,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33387,
    "c": 0.14786,
    "h": 304.1
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#481572
secondary
#6CA83B
accent
#EC3C8B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481572

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

Preview Lab → · Contrast checker → · Palette generator →

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