#482158#482158

#482158 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.9% C 0.101 H 315.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#482158
RGBrgb(72, 33, 88)
HSLhsl(283, 45%, 24%)
HSVhsv(283, 63%, 35%)
CMYKcmyk(18.2%, 62.5%, 0%, 65.5%)
CIE-LABlab(20.71, 28.82, -25.66)
CIE-LCHlch(20.71, 38.59, 318.32°)
OKLaboklab(32.87% 0.0718 -0.0718)
OKLCHoklch(32.87% 0.101 315)
XYZxyz(4.9775, 3.1702, 9.5803)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482158 #315821
analogous
#2C2158 #482158 #58214C
triadic
#482158 #584821 #215848
tetradic
#482158 #582C21 #315821 #214C58
square
#482158 #582C21 #315821 #214C58
split-complementary
#482158 #4C5821 #21582C
monochromatic
#120816 #24102B #482158 #6C3285 #9142B1

Accessibility & contrast

On white

12.85
#482158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#482158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482158
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482158#FFFFFF#000000##FFFFFF
##4821581.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305A
Deuteranopia (green-blind)
#203357
Tritanopia (blue-blind)
#472A39
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #482158;
/* rgb */ color: rgb(72, 33, 88);
/* oklch */ color: oklch(32.9% 0.101 315.0);
Tailwind
colors: {
  custom: {
    50: '#7d5e87',
    500: '#482158',
    950: '#000000',
  },
}
SCSS
$custom: #482158;
$custom-light: #7d5e87;
$custom-dark: #000000;
JSON
{
  "hex": "#482158",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 282.545,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32874,
    "c": 0.10149,
    "h": 315
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#482158
secondary
#5C8C49
accent
#D55379
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #482158

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

Preview Lab → · Contrast checker → · Palette generator →

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