#481257#481257

#481257 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.123 H 317.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#481257
RGBrgb(72, 18, 87)
HSLhsl(287, 66%, 21%)
HSVhsv(287, 79%, 34%)
CMYKcmyk(17.2%, 79.3%, 0%, 65.9%)
CIE-LABlab(17.91, 36.15, -29.46)
CIE-LCHlch(17.91, 46.64, 320.82°)
OKLaboklab(30.83% 0.0914 -0.0828)
OKLCHoklch(30.83% 0.123 317.8)
XYZxyz(4.6088, 2.4987, 9.2545)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481257 #215712
analogous
#261257 #481257 #571243
triadic
#481257 #574812 #125748
tetradic
#481257 #572612 #215712 #124357
square
#481257 #572612 #215712 #124357
split-complementary
#481257 #435712 #125726
monochromatic
#150519 #1E0824 #481257 #721C8A #9C27BC

Accessibility & contrast

On white

14.00
#481257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#481257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481257
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481257#FFFFFF#000000##FFFFFF
##4812571.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#152D55
Tritanopia (blue-blind)
#472033
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #481257;
/* rgb */ color: rgb(72, 18, 87);
/* oklch */ color: oklch(30.8% 0.123 317.8);
Tailwind
colors: {
  custom: {
    50: '#7e5687',
    500: '#481257',
    950: '#000000',
  },
}
SCSS
$custom: #481257;
$custom-light: #7e5687;
$custom-dark: #000000;
JSON
{
  "hex": "#481257",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 286.957,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30833,
    "c": 0.12332,
    "h": 317.8
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#481257
secondary
#499035
accent
#E93F64
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #481257

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

Preview Lab → · Contrast checker → · Palette generator →

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