#481566#481566

#481566 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.135 H 309.4°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#481566
RGBrgb(72, 21, 102)
HSLhsl(278, 66%, 24%)
HSVhsv(278, 79%, 40%)
CMYKcmyk(29.4%, 79.4%, 0%, 60%)
CIE-LABlab(19.53, 38.34, -36.82)
CIE-LCHlch(19.53, 53.15, 316.15°)
OKLaboklab(32.35% 0.0857 -0.1044)
OKLCHoklch(32.35% 0.135 309.4)
XYZxyz(5.3384, 2.8735, 12.8412)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481566 #336615
analogous
#201566 #481566 #66155C
triadic
#481566 #664815 #156648
tetradic
#481566 #662015 #336615 #155C66
square
#481566 #662015 #336615 #155C66
split-complementary
#481566 #5C6615 #156620
monochromatic
#120519 #240B33 #481566 #6C1F99 #902ACC

Accessibility & contrast

On white

13.34
#481566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#481566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481566
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481566#FFFFFF#000000##FFFFFF
##4815661.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#003064
Tritanopia (blue-blind)
#44283C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #481566;
/* rgb */ color: rgb(72, 21, 102);
/* oklch */ color: oklch(32.3% 0.135 309.4);
Tailwind
colors: {
  custom: {
    50: '#7f5892',
    500: '#481566',
    950: '#000000',
  },
}
SCSS
$custom: #481566;
$custom-light: #7f5892;
$custom-dark: #000000;
JSON
{
  "hex": "#481566",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 277.778,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32348,
    "c": 0.13512,
    "h": 309.4
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#481566
secondary
#5F9D3A
accent
#E93F7E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #481566

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

Preview Lab → · Contrast checker → · Palette generator →

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