#481452#481452

#481452 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.116 H 320.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#481452
RGBrgb(72, 20, 82)
HSLhsl(290, 61%, 20%)
HSVhsv(290, 76%, 32%)
CMYKcmyk(12.2%, 75.6%, 0%, 67.8%)
CIE-LABlab(17.86, 34.19, -26.17)
CIE-LCHlch(17.86, 43.06, 322.57°)
OKLaboklab(30.68% 0.0895 -0.0732)
OKLCHoklch(30.68% 0.116 320.7)
XYZxyz(4.4455, 2.4875, 8.2270)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481452 #1E5214
analogous
#291452 #481452 #52143D
triadic
#481452 #524814 #145248
tetradic
#481452 #522914 #1E5214 #143D52
square
#481452 #522914 #1E5214 #143D52
split-complementary
#481452 #3D5214 #145229
monochromatic
#160619 #1D0821 #481452 #732083 #9E2CB4

Accessibility & contrast

On white

14.02
#481452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481452
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481452#FFFFFF#000000##FFFFFF
##4814521.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#1A2E51
Tritanopia (blue-blind)
#491F31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #481452;
/* rgb */ color: rgb(72, 20, 82);
/* oklch */ color: oklch(30.7% 0.116 320.7);
Tailwind
colors: {
  custom: {
    50: '#7d5783',
    500: '#481452',
    950: '#000000',
  },
}
SCSS
$custom: #481452;
$custom-light: #7d5783;
$custom-dark: #000000;
JSON
{
  "hex": "#481452",
  "rgb": {
    "r": 72,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 290.323,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30682,
    "c": 0.11562,
    "h": 320.7
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#481452
secondary
#458A38
accent
#E4445E
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #481452

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

Preview Lab → · Contrast checker → · Palette generator →

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