#481C70#481C70

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

Color values

HEX#481C70
RGBrgb(72, 28, 112)
HSLhsl(271, 60%, 27%)
HSVhsv(271, 75%, 44%)
CMYKcmyk(35.7%, 75%, 0%, 56.1%)
CIE-LABlab(21.50, 37.58, -40.14)
CIE-LCHlch(21.50, 54.99, 313.12°)
OKLaboklab(34% 0.0763 -0.1142)
OKLCHoklch(34% 0.137 303.8)
XYZxyz(6.0117, 3.3781, 15.6614)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C70 #44701C
analogous
#1E1C70 #481C70 #701C6E
triadic
#481C70 #70481C #1C7048
tetradic
#481C70 #701E1C #44701C #1C6E70
square
#481C70 #701E1C #44701C #1C6E70
split-complementary
#481C70 #6E701C #1C701E
monochromatic
#100618 #29103F #481C70 #6728A1 #8739CD

Accessibility & contrast

On white

12.53
#481C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#481C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C70
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C70#FFFFFF#000000##FFFFFF
##481C701.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#403044
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481c70;
/* rgb */ color: rgb(72, 28, 112);
/* oklch */ color: oklch(34.0% 0.137 303.8);
Tailwind
colors: {
  custom: {
    50: '#7f5c9a',
    500: '#481c70',
    950: '#000000',
  },
}
SCSS
$custom: #481c70;
$custom-light: #7f5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#481c70",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 271.429,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33999,
    "c": 0.13739,
    "h": 303.8
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#481C70
secondary
#72A543
accent
#E34590
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481C70

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

Preview Lab → · Contrast checker → · Palette generator →

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