#482155#482155

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

Color values

HEX#482155
RGBrgb(72, 33, 85)
HSLhsl(285, 44%, 23%)
HSVhsv(285, 61%, 33%)
CMYKcmyk(15.3%, 61.2%, 0%, 66.7%)
CIE-LABlab(20.52, 28.10, -23.95)
CIE-LCHlch(20.52, 36.92, 319.55°)
OKLaboklab(32.67% 0.0716 -0.0668)
OKLCHoklch(32.67% 0.098 317)
XYZxyz(4.8558, 3.1215, 8.9393)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482155 #2E5521
analogous
#2E2155 #482155 #552148
triadic
#482155 #554821 #215548
tetradic
#482155 #552E21 #2E5521 #214855
square
#482155 #552E21 #2E5521 #214855
split-complementary
#482155 #485521 #21552E
monochromatic
#130916 #231029 #482155 #6D3281 #9343AD

Accessibility & contrast

On white

12.93
#482155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#482155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482155
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482155#FFFFFF#000000##FFFFFF
##4821551.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152F57
Deuteranopia (green-blind)
#223354
Tritanopia (blue-blind)
#482937
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #482155;
/* rgb */ color: rgb(72, 33, 85);
/* oklch */ color: oklch(32.7% 0.098 317.0);
Tailwind
colors: {
  custom: {
    50: '#7d5e85',
    500: '#482155',
    950: '#000000',
  },
}
SCSS
$custom: #482155;
$custom-light: #7d5e85;
$custom-dark: #000000;
JSON
{
  "hex": "#482155",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 285,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32674,
    "c": 0.09791,
    "h": 317
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#482155
secondary
#598949
accent
#D45474
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #482155

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

Preview Lab → · Contrast checker → · Palette generator →

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