#481F5D#481F5D

#481F5D is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.9% C 0.111 H 312.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#481F5D
RGBrgb(72, 31, 93)
HSLhsl(280, 50%, 24%)
HSVhsv(280, 67%, 36%)
CMYKcmyk(22.6%, 66.7%, 0%, 63.5%)
CIE-LABlab(20.63, 31.18, -29.12)
CIE-LCHlch(20.63, 42.66, 316.96°)
OKLaboklab(32.92% 0.0747 -0.0819)
OKLCHoklch(32.92% 0.111 312.4)
XYZxyz(5.1379, 3.1481, 10.6908)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F5D #345D1F
analogous
#291F5D #481F5D #5D1F53
triadic
#481F5D #5D481F #1F5D48
tetradic
#481F5D #5D291F #345D1F #1F535D
square
#481F5D #5D291F #345D1F #1F535D
split-complementary
#481F5D #535D1F #1F5D29
monochromatic
#120817 #24102F #481F5D #6C2E8B #8F3EB9

Accessibility & contrast

On white

12.89
#481F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#481F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F5D
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F5D#FFFFFF#000000##FFFFFF
##481F5D1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06305F
Deuteranopia (green-blind)
#1B335C
Tritanopia (blue-blind)
#462B3B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481f5d;
/* rgb */ color: rgb(72, 31, 93);
/* oklch */ color: oklch(32.9% 0.111 312.4);
Tailwind
colors: {
  custom: {
    50: '#7d5d8b',
    500: '#481f5d',
    950: '#000000',
  },
}
SCSS
$custom: #481f5d;
$custom-light: #7d5d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#481f5d",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 279.677,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32919,
    "c": 0.11084,
    "h": 312.4
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#481F5D
secondary
#609246
accent
#DA4E7D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481F5D

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

Preview Lab → · Contrast checker → · Palette generator →

#481F5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva