#481F5B#481F5B

#481F5B is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.108 H 313.5°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#481F5B
RGBrgb(72, 31, 91)
HSLhsl(281, 49%, 24%)
HSVhsv(281, 66%, 36%)
CMYKcmyk(20.9%, 65.9%, 0%, 64.3%)
CIE-LABlab(20.49, 30.68, -28.01)
CIE-LCHlch(20.49, 41.54, 317.61°)
OKLaboklab(32.78% 0.0747 -0.0786)
OKLCHoklch(32.78% 0.108 313.5)
XYZxyz(5.0505, 3.1132, 10.2304)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F5B #325B1F
analogous
#2A1F5B #481F5B #5B1F50
triadic
#481F5B #5B481F #1F5B48
tetradic
#481F5B #5B2A1F #325B1F #1F505B
square
#481F5B #5B2A1F #325B1F #1F505B
split-complementary
#481F5B #505B1F #1F5B2A
monochromatic
#120817 #240F2D #481F5B #6C2F89 #903EB6

Accessibility & contrast

On white

12.94
#481F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#481F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F5B
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F5B#FFFFFF#000000##FFFFFF
##481F5B1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5D
Deuteranopia (green-blind)
#1C325A
Tritanopia (blue-blind)
#462A39
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481f5b;
/* rgb */ color: rgb(72, 31, 91);
/* oklch */ color: oklch(32.8% 0.108 313.5);
Tailwind
colors: {
  custom: {
    50: '#7d5d8a',
    500: '#481f5b',
    950: '#000000',
  },
}
SCSS
$custom: #481f5b;
$custom-light: #7d5d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#481f5b",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 281,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32776,
    "c": 0.10848,
    "h": 313.5
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#481F5B
secondary
#5D9046
accent
#D94F7B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #481F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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