#482157#482157

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

Color values

HEX#482157
RGBrgb(72, 33, 87)
HSLhsl(283, 45%, 24%)
HSVhsv(283, 62%, 34%)
CMYKcmyk(17.2%, 62.1%, 0%, 65.9%)
CIE-LABlab(20.65, 28.58, -25.09)
CIE-LCHlch(20.65, 38.03, 318.72°)
OKLaboklab(32.81% 0.0717 -0.0701)
OKLCHoklch(32.81% 0.1 315.6)
XYZxyz(4.9364, 3.1537, 9.3637)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482157 #305721
analogous
#2D2157 #482157 #57214B
triadic
#482157 #574821 #215748
tetradic
#482157 #572D21 #305721 #214B57
square
#482157 #572D21 #305721 #214B57
split-complementary
#482157 #4B5721 #21572D
monochromatic
#120816 #23102B #482157 #6D3283 #9143B0

Accessibility & contrast

On white

12.88
#482157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482157
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482157#FFFFFF#000000##FFFFFF
##4821571.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F59
Deuteranopia (green-blind)
#213356
Tritanopia (blue-blind)
#472A38
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #482157;
/* rgb */ color: rgb(72, 33, 87);
/* oklch */ color: oklch(32.8% 0.100 315.6);
Tailwind
colors: {
  custom: {
    50: '#7d5e87',
    500: '#482157',
    950: '#000000',
  },
}
SCSS
$custom: #482157;
$custom-light: #7d5e87;
$custom-dark: #000000;
JSON
{
  "hex": "#482157",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 283.333,
    "s": 45,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32807,
    "c": 0.1003,
    "h": 315.6
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#482157
secondary
#5B8B49
accent
#D55377
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #482157

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

Preview Lab → · Contrast checker → · Palette generator →

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