#481D71#481D71

#481D71 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.137 H 303.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#481D71
RGBrgb(72, 29, 113)
HSLhsl(271, 59%, 28%)
HSVhsv(271, 74%, 44%)
CMYKcmyk(36.3%, 74.3%, 0%, 55.7%)
CIE-LABlab(21.76, 37.35, -40.36)
CIE-LCHlch(21.76, 54.99, 312.78°)
OKLaboklab(34.21% 0.0751 -0.1149)
OKLCHoklch(34.21% 0.137 303.2)
XYZxyz(6.0918, 3.4487, 15.9643)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481D71 #46711D
analogous
#1E1D71 #481D71 #711D70
triadic
#481D71 #71481D #1D7148
tetradic
#481D71 #711E1D #46711D #1D7071
square
#481D71 #711E1D #46711D #1D7071
split-complementary
#481D71 #70711D #1D711E
monochromatic
#100618 #291140 #481D71 #6729A2 #863CCD

Accessibility & contrast

On white

12.43
#481D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#481D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481D71
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481D71#FFFFFF#000000##FFFFFF
##481D711.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#403145
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481d71;
/* rgb */ color: rgb(72, 29, 113);
/* oklch */ color: oklch(34.2% 0.137 303.2);
Tailwind
colors: {
  custom: {
    50: '#7f5d9a',
    500: '#481d71',
    950: '#000000',
  },
}
SCSS
$custom: #481d71;
$custom-light: #7f5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#481d71",
  "rgb": {
    "r": 72,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 270.714,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3421,
    "c": 0.13723,
    "h": 303.2
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#481D71
secondary
#74A544
accent
#E24592
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481D71

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

Preview Lab → · Contrast checker → · Palette generator →

#481D71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva