#481251#481251

#481251 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.117 H 321.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#481251
RGBrgb(72, 18, 81)
HSLhsl(291, 64%, 19%)
HSVhsv(291, 78%, 32%)
CMYKcmyk(11.1%, 77.8%, 0%, 68.2%)
CIE-LABlab(17.48, 34.86, -26.10)
CIE-LCHlch(17.48, 43.55, 323.18°)
OKLaboklab(30.39% 0.0919 -0.073)
OKLCHoklch(30.39% 0.117 321.6)
XYZxyz(4.3738, 2.4046, 8.0167)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481251 #1B5112
analogous
#291251 #481251 #51123B
triadic
#481251 #514812 #125148
tetradic
#481251 #512912 #1B5112 #123B51
square
#481251 #512912 #1B5112 #123B51
split-complementary
#481251 #3B5112 #125129
monochromatic
#160619 #1B071F #481251 #751D83 #A128B5

Accessibility & contrast

On white

14.18
#481251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#481251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481251
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481251#FFFFFF#000000##FFFFFF
##4812511.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#1A2D50
Tritanopia (blue-blind)
#491E30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #481251;
/* rgb */ color: rgb(72, 18, 81);
/* oklch */ color: oklch(30.4% 0.117 321.6);
Tailwind
colors: {
  custom: {
    50: '#7e5682',
    500: '#481251',
    950: '#000000',
  },
}
SCSS
$custom: #481251;
$custom-light: #7e5682;
$custom-dark: #000000;
JSON
{
  "hex": "#481251",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 81
  },
  "hsl": {
    "h": 291.429,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30388,
    "c": 0.11736,
    "h": 321.6
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#481251
secondary
#418A35
accent
#E74159
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #481251

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

Preview Lab → · Contrast checker → · Palette generator →

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