#482256#482256

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

Color values

HEX#482256
RGBrgb(72, 34, 86)
HSLhsl(284, 43%, 24%)
HSVhsv(284, 60%, 34%)
CMYKcmyk(16.3%, 60.5%, 0%, 66.3%)
CIE-LABlab(20.80, 27.76, -24.18)
CIE-LCHlch(20.80, 36.81, 318.94°)
OKLaboklab(32.9% 0.0701 -0.0675)
OKLCHoklch(32.9% 0.097 316.1)
XYZxyz(4.9240, 3.1938, 9.1594)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482256 #305622
analogous
#2E2256 #482256 #56224A
triadic
#482256 #564822 #225648
tetradic
#482256 #562E22 #305622 #224A56
square
#482256 #562E22 #305622 #224A56
split-complementary
#482256 #4A5622 #22562E
monochromatic
#120916 #23112A #482256 #6D3382 #9145AE

Accessibility & contrast

On white

12.81
#482256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#482256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482256
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482256#FFFFFF#000000##FFFFFF
##4822561.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #482256;
/* rgb */ color: rgb(72, 34, 86);
/* oklch */ color: oklch(32.9% 0.097 316.1);
Tailwind
colors: {
  custom: {
    50: '#7d5f86',
    500: '#482256',
    950: '#000000',
  },
}
SCSS
$custom: #482256;
$custom-light: #7d5f86;
$custom-dark: #000000;
JSON
{
  "hex": "#482256",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 283.846,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.329,
    "c": 0.09732,
    "h": 316.1
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#482256
secondary
#5B8A4A
accent
#D35577
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #482256

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

Preview Lab → · Contrast checker → · Palette generator →

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