#482071#482071

#482071 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.133 H 302.5°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#482071
RGBrgb(72, 32, 113)
HSLhsl(270, 56%, 28%)
HSVhsv(270, 72%, 44%)
CMYKcmyk(36.3%, 71.7%, 0%, 55.7%)
CIE-LABlab(22.31, 35.79, -39.46)
CIE-LCHlch(22.31, 53.28, 312.21°)
OKLaboklab(34.61% 0.0716 -0.1123)
OKLCHoklch(34.61% 0.133 302.5)
XYZxyz(6.1689, 3.6030, 15.9900)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482071 #497120
analogous
#202071 #482071 #702071
triadic
#482071 #714820 #207148
tetradic
#482071 #712020 #497120 #207170
square
#482071 #712020 #497120 #207170
split-complementary
#482071 #717020 #207120
monochromatic
#0F0718 #2A1241 #482071 #662EA1 #8542C9

Accessibility & contrast

On white

12.21
#482071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#482071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482071
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482071#FFFFFF#000000##FFFFFF
##4820711.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#403346
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #482071;
/* rgb */ color: rgb(72, 32, 113);
/* oklch */ color: oklch(34.6% 0.133 302.5);
Tailwind
colors: {
  custom: {
    50: '#7f5f9a',
    500: '#482071',
    950: '#000000',
  },
}
SCSS
$custom: #482071;
$custom-light: #7f5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#482071",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 269.63,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34605,
    "c": 0.13317,
    "h": 302.5
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#482071
secondary
#77A548
accent
#DF4995
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482071

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

Preview Lab → · Contrast checker → · Palette generator →

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