#482255#482255

#482255 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.8% C 0.096 H 316.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#482255
RGBrgb(72, 34, 85)
HSLhsl(285, 43%, 23%)
HSVhsv(285, 60%, 33%)
CMYKcmyk(15.3%, 60%, 0%, 66.7%)
CIE-LABlab(20.74, 27.51, -23.61)
CIE-LCHlch(20.74, 36.25, 319.37°)
OKLaboklab(32.83% 0.07 -0.0658)
OKLCHoklch(32.83% 0.096 316.8)
XYZxyz(4.8840, 3.1778, 8.9487)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482255 #2F5522
analogous
#2E2255 #482255 #552248
triadic
#482255 #554822 #225548
tetradic
#482255 #552E22 #2F5522 #224855
square
#482255 #552E22 #2F5522 #224855
split-complementary
#482255 #485522 #22552E
monochromatic
#130916 #231129 #482255 #6D3381 #9245AC

Accessibility & contrast

On white

12.84
#482255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482255
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482255#FFFFFF#000000##FFFFFF
##4822551.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #482255;
/* rgb */ color: rgb(72, 34, 85);
/* oklch */ color: oklch(32.8% 0.096 316.8);
Tailwind
colors: {
  custom: {
    50: '#7d5f85',
    500: '#482255',
    950: '#000000',
  },
}
SCSS
$custom: #482255;
$custom-light: #7d5f85;
$custom-dark: #000000;
JSON
{
  "hex": "#482255",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 284.706,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32834,
    "c": 0.09611,
    "h": 316.8
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#482255
secondary
#5A894A
accent
#D35575
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #482255

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

Preview Lab → · Contrast checker → · Palette generator →

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