#482571#482571

#482571 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.126 H 301.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#482571
RGBrgb(72, 37, 113)
HSLhsl(268, 51%, 29%)
HSVhsv(268, 67%, 44%)
CMYKcmyk(36.3%, 67.3%, 0%, 55.7%)
CIE-LABlab(23.31, 33.04, -37.84)
CIE-LCHlch(23.31, 50.23, 311.13°)
OKLaboklab(35.33% 0.0656 -0.1075)
OKLCHoklch(35.33% 0.126 301.4)
XYZxyz(6.3140, 3.8931, 16.0384)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482571 #4E7125
analogous
#252871 #482571 #6E2571
triadic
#482571 #714825 #257148
tetradic
#482571 #712528 #4E7125 #25716E
square
#482571 #712528 #4E7125 #25716E
split-complementary
#482571 #716E25 #287125
monochromatic
#0F0817 #2B1643 #482571 #65349F #834CC4

Accessibility & contrast

On white

11.81
#482571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#482571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482571
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482571#FFFFFF#000000##FFFFFF
##4825711.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#07376F
Tritanopia (blue-blind)
#3F3647
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #482571;
/* rgb */ color: rgb(72, 37, 113);
/* oklch */ color: oklch(35.3% 0.126 301.4);
Tailwind
colors: {
  custom: {
    50: '#7f629a',
    500: '#482571',
    950: '#000000',
  },
}
SCSS
$custom: #482571;
$custom-light: #7f629a;
$custom-dark: #000000;
JSON
{
  "hex": "#482571",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 267.632,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35325,
    "c": 0.12594,
    "h": 301.4
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#482571
secondary
#7CA44E
accent
#DA4E99
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482571

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

Preview Lab → · Contrast checker → · Palette generator →

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