#482156#482156

#482156 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.7% C 0.099 H 316.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#482156
RGBrgb(72, 33, 86)
HSLhsl(284, 45%, 23%)
HSVhsv(284, 62%, 34%)
CMYKcmyk(16.3%, 61.6%, 0%, 66.3%)
CIE-LABlab(20.59, 28.34, -24.52)
CIE-LCHlch(20.59, 37.47, 319.13°)
OKLaboklab(32.74% 0.0716 -0.0685)
OKLCHoklch(32.74% 0.099 316.3)
XYZxyz(4.8958, 3.1375, 9.1500)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482156 #2F5621
analogous
#2D2156 #482156 #562149
triadic
#482156 #564821 #215648
tetradic
#482156 #562D21 #2F5621 #214956
square
#482156 #562D21 #2F5621 #214956
split-complementary
#482156 #495621 #21562D
monochromatic
#130816 #23102A #482156 #6D3282 #9243AE

Accessibility & contrast

On white

12.90
#482156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482156
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482156#FFFFFF#000000##FFFFFF
##4821561.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F58
Deuteranopia (green-blind)
#223355
Tritanopia (blue-blind)
#472A38
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #482156;
/* rgb */ color: rgb(72, 33, 86);
/* oklch */ color: oklch(32.7% 0.099 316.3);
Tailwind
colors: {
  custom: {
    50: '#7d5e86',
    500: '#482156',
    950: '#000000',
  },
}
SCSS
$custom: #482156;
$custom-light: #7d5e86;
$custom-dark: #000000;
JSON
{
  "hex": "#482156",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 284.151,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3274,
    "c": 0.0991,
    "h": 316.3
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#482156
secondary
#5A8A49
accent
#D45476
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #482156

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

Preview Lab → · Contrast checker → · Palette generator →

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