#481B73#481B73

#481B73 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.142 H 302.7°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#481B73
RGBrgb(72, 27, 115)
HSLhsl(271, 62%, 28%)
HSVhsv(271, 77%, 45%)
CMYKcmyk(37.4%, 76.5%, 0%, 54.9%)
CIE-LABlab(21.58, 38.85, -41.94)
CIE-LCHlch(21.58, 57.17, 312.81°)
OKLaboklab(34.13% 0.0768 -0.1195)
OKLCHoklch(34.13% 0.142 302.7)
XYZxyz(6.1582, 3.3994, 16.5480)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B73 #46731B
analogous
#1C1B73 #481B73 #731B72
triadic
#481B73 #73481B #1B7348
tetradic
#481B73 #731C1B #46731B #1B7273
square
#481B73 #731C1B #46731B #1B7273
split-complementary
#481B73 #72731B #1B731C
monochromatic
#100619 #290F41 #481B73 #6727A5 #8638D0

Accessibility & contrast

On white

12.50
#481B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481B73
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B73#FFFFFF#000000##FFFFFF
##481B731.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#3F3145
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481b73;
/* rgb */ color: rgb(72, 27, 115);
/* oklch */ color: oklch(34.1% 0.142 302.7);
Tailwind
colors: {
  custom: {
    50: '#7f5c9c',
    500: '#481b73',
    950: '#000000',
  },
}
SCSS
$custom: #481b73;
$custom-light: #7f5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#481b73",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 270.682,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34134,
    "c": 0.14207,
    "h": 302.7
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#481B73
secondary
#74A842
accent
#E54392
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481B73

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

Preview Lab → · Contrast checker → · Palette generator →

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