#482271#482271

#482271 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.130 H 302.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#482271
RGBrgb(72, 34, 113)
HSLhsl(269, 54%, 29%)
HSVhsv(269, 70%, 44%)
CMYKcmyk(36.3%, 69.9%, 0%, 55.7%)
CIE-LABlab(22.70, 34.72, -38.83)
CIE-LCHlch(22.70, 52.09, 311.80°)
OKLaboklab(34.88% 0.0693 -0.1104)
OKLCHoklch(34.88% 0.13 302.1)
XYZxyz(6.2244, 3.7140, 16.0085)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482271 #4B7122
analogous
#222471 #482271 #702271
triadic
#482271 #714822 #227148
tetradic
#482271 #712224 #4B7122 #227170
square
#482271 #712224 #4B7122 #227170
split-complementary
#482271 #717022 #247122
monochromatic
#0F0718 #2A1442 #482271 #6630A0 #8446C7

Accessibility & contrast

On white

12.05
#482271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#482271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482271
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482271#FFFFFF#000000##FFFFFF
##4822711.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#00366F
Tritanopia (blue-blind)
#403446
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #482271;
/* rgb */ color: rgb(72, 34, 113);
/* oklch */ color: oklch(34.9% 0.130 302.1);
Tailwind
colors: {
  custom: {
    50: '#7f609a',
    500: '#482271',
    950: '#000000',
  },
}
SCSS
$custom: #482271;
$custom-light: #7f609a;
$custom-dark: #000000;
JSON
{
  "hex": "#482271",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 268.861,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34884,
    "c": 0.13035,
    "h": 302.1
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#482271
secondary
#79A44A
accent
#DD4B97
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #482271

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

Preview Lab → · Contrast checker → · Palette generator →

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