#481852#481852

#481852 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.110 H 320.3°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#481852
RGBrgb(72, 24, 82)
HSLhsl(290, 55%, 21%)
HSVhsv(290, 71%, 32%)
CMYKcmyk(12.2%, 70.7%, 0%, 67.8%)
CIE-LABlab(18.54, 32.29, -25.08)
CIE-LCHlch(18.54, 40.89, 322.16°)
OKLaboklab(31.17% 0.0844 -0.07)
OKLCHoklch(31.17% 0.11 320.3)
XYZxyz(4.5219, 2.6404, 8.2525)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481852 #225218
analogous
#2B1852 #481852 #52183F
triadic
#481852 #524818 #185248
tetradic
#481852 #522B18 #225218 #183F52
square
#481852 #522B18 #225218 #183F52
split-complementary
#481852 #3F5218 #18522B
monochromatic
#150718 #1E0A23 #481852 #722681 #9B34B1

Accessibility & contrast

On white

13.74
#481852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#481852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481852
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481852#FFFFFF#000000##FFFFFF
##4818521.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A54
Deuteranopia (green-blind)
#1D2F51
Tritanopia (blue-blind)
#482232
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #481852;
/* rgb */ color: rgb(72, 24, 82);
/* oklch */ color: oklch(31.2% 0.110 320.3);
Tailwind
colors: {
  custom: {
    50: '#7d5983',
    500: '#481852',
    950: '#000000',
  },
}
SCSS
$custom: #481852;
$custom-light: #7d5983;
$custom-dark: #000000;
JSON
{
  "hex": "#481852",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 289.655,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31171,
    "c": 0.10968,
    "h": 320.3
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#481852
secondary
#4A893D
accent
#DE4A63
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #481852

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

Preview Lab → · Contrast checker → · Palette generator →

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