#481F5A#481F5A

#481F5A is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.7% C 0.107 H 314.1°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#481F5A
RGBrgb(72, 31, 90)
HSLhsl(282, 49%, 24%)
HSVhsv(282, 66%, 35%)
CMYKcmyk(20%, 65.6%, 0%, 64.7%)
CIE-LABlab(20.42, 30.44, -27.45)
CIE-LCHlch(20.42, 40.99, 317.96°)
OKLaboklab(32.71% 0.0747 -0.077)
OKLCHoklch(32.71% 0.107 314.1)
XYZxyz(5.0076, 3.0960, 10.0047)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F5A #315A1F
analogous
#2A1F5A #481F5A #5A1F4E
triadic
#481F5A #5A481F #1F5A48
tetradic
#481F5A #5A2A1F #315A1F #1F4E5A
square
#481F5A #5A2A1F #315A1F #1F4E5A
split-complementary
#481F5A #4E5A1F #1F5A2A
monochromatic
#120817 #240F2C #481F5A #6C2F88 #913EB5

Accessibility & contrast

On white

12.97
#481F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481F5A
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F5A#FFFFFF#000000##FFFFFF
##481F5A1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5C
Deuteranopia (green-blind)
#1D3259
Tritanopia (blue-blind)
#462A39
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481f5a;
/* rgb */ color: rgb(72, 31, 90);
/* oklch */ color: oklch(32.7% 0.107 314.1);
Tailwind
colors: {
  custom: {
    50: '#7d5d89',
    500: '#481f5a',
    950: '#000000',
  },
}
SCSS
$custom: #481f5a;
$custom-light: #7d5d89;
$custom-dark: #000000;
JSON
{
  "hex": "#481f5a",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 281.695,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32706,
    "c": 0.10729,
    "h": 314.1
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#481F5A
secondary
#5C8F46
accent
#D84F79
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #481F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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