#482572#482572

#482572 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.127 H 301.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#482572
RGBrgb(72, 37, 114)
HSLhsl(267, 51%, 30%)
HSVhsv(267, 68%, 45%)
CMYKcmyk(36.8%, 67.5%, 0%, 55.3%)
CIE-LABlab(23.39, 33.32, -38.36)
CIE-LCHlch(23.39, 50.81, 310.97°)
OKLaboklab(35.4% 0.0655 -0.109)
OKLCHoklch(35.4% 0.127 301)
XYZxyz(6.3706, 3.9157, 16.3365)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482572 #4F7225
analogous
#252972 #482572 #6F2572
triadic
#482572 #724825 #257248
tetradic
#482572 #722529 #4F7225 #25726F
square
#482572 #722529 #4F7225 #25726F
split-complementary
#482572 #726F25 #297225
monochromatic
#0F0717 #2B1644 #482572 #6534A0 #834CC5

Accessibility & contrast

On white

11.78
#482572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #482572
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482572#FFFFFF#000000##FFFFFF
##4825721.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#043770
Tritanopia (blue-blind)
#3F3648
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #482572;
/* rgb */ color: rgb(72, 37, 114);
/* oklch */ color: oklch(35.4% 0.127 301.0);
Tailwind
colors: {
  custom: {
    50: '#7f629b',
    500: '#482572',
    950: '#000000',
  },
}
SCSS
$custom: #482572;
$custom-light: #7f629b;
$custom-dark: #000000;
JSON
{
  "hex": "#482572",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 267.273,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35404,
    "c": 0.12719,
    "h": 301
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#482572
secondary
#7DA54E
accent
#DA4D9A
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482572

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

Preview Lab → · Contrast checker → · Palette generator →

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