#481857#481857

#481857 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.115 H 317.1°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#481857
RGBrgb(72, 24, 87)
HSLhsl(286, 57%, 22%)
HSVhsv(286, 72%, 34%)
CMYKcmyk(17.2%, 72.4%, 0%, 65.9%)
CIE-LABlab(18.88, 33.42, -27.91)
CIE-LCHlch(18.88, 43.54, 320.13°)
OKLaboklab(31.53% 0.0843 -0.0783)
OKLCHoklch(31.53% 0.115 317.1)
XYZxyz(4.7192, 2.7193, 9.2913)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481857 #275718
analogous
#291857 #481857 #571847
triadic
#481857 #574818 #185748
tetradic
#481857 #572918 #275718 #184757
square
#481857 #572918 #275718 #184757
split-complementary
#481857 #475718 #185729
monochromatic
#140718 #200B27 #481857 #702587 #9732B7

Accessibility & contrast

On white

13.60
#481857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#481857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481857
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481857#FFFFFF#000000##FFFFFF
##4818571.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B59
Deuteranopia (green-blind)
#192F56
Tritanopia (blue-blind)
#472435
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #481857;
/* rgb */ color: rgb(72, 24, 87);
/* oklch */ color: oklch(31.5% 0.115 317.1);
Tailwind
colors: {
  custom: {
    50: '#7d5987',
    500: '#481857',
    950: '#000000',
  },
}
SCSS
$custom: #481857;
$custom-light: #7d5987;
$custom-dark: #000000;
JSON
{
  "hex": "#481857",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 285.714,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31526,
    "c": 0.11503,
    "h": 317.1
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#481857
secondary
#508E3D
accent
#E0486C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #481857

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

Preview Lab → · Contrast checker → · Palette generator →

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