#482971#482971

#482971 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.120 H 300.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#482971
RGBrgb(72, 41, 113)
HSLhsl(266, 47%, 30%)
HSVhsv(266, 64%, 44%)
CMYKcmyk(36.3%, 63.7%, 0%, 55.7%)
CIE-LABlab(24.18, 30.70, -36.44)
CIE-LCHlch(24.18, 47.65, 310.11°)
OKLaboklab(35.95% 0.0604 -0.1034)
OKLCHoklch(35.95% 0.12 300.3)
XYZxyz(6.4453, 4.1558, 16.0822)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482971 #527129
analogous
#292E71 #482971 #6C2971
triadic
#482971 #714829 #297148
tetradic
#482971 #71292E #527129 #29716C
square
#482971 #71292E #527129 #29716C
split-complementary
#482971 #716C29 #2E7129
monochromatic
#0F0817 #2B1944 #482971 #65399E #8354C1

Accessibility & contrast

On white

11.47
#482971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#482971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482971
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482971#FFFFFF#000000##FFFFFF
##4829711.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#10396F
Tritanopia (blue-blind)
#3F3849
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #482971;
/* rgb */ color: rgb(72, 41, 113);
/* oklch */ color: oklch(36.0% 0.120 300.3);
Tailwind
colors: {
  custom: {
    50: '#7e649a',
    500: '#482971',
    950: '#000000',
  },
}
SCSS
$custom: #482971;
$custom-light: #7e649a;
$custom-dark: #000000;
JSON
{
  "hex": "#482971",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 265.833,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35953,
    "c": 0.11977,
    "h": 300.3
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#482971
secondary
#80A353
accent
#D6519D
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #482971

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

Preview Lab → · Contrast checker → · Palette generator →

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