#481A74#481A74

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

Color values

HEX#481A74
RGBrgb(72, 26, 116)
HSLhsl(271, 63%, 28%)
HSVhsv(271, 78%, 45%)
CMYKcmyk(37.9%, 77.6%, 0%, 54.5%)
CIE-LABlab(21.50, 39.58, -42.72)
CIE-LCHlch(21.50, 58.24, 312.82°)
OKLaboklab(34.1% 0.0776 -0.1218)
OKLCHoklch(34.1% 0.144 302.5)
XYZxyz(6.1935, 3.3774, 16.8452)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A74 #46741A
analogous
#1B1A74 #481A74 #741A73
triadic
#481A74 #74481A #1A7448
tetradic
#481A74 #741B1A #46741A #1A7374
square
#481A74 #741B1A #46741A #1A7374
split-complementary
#481A74 #73741A #1A741B
monochromatic
#100619 #290F42 #481A74 #6725A6 #8636D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##481A74#FFFFFF#000000##FFFFFF
##481A741.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)
#003377
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#3F3146
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481a74;
/* rgb */ color: rgb(72, 26, 116);
/* oklch */ color: oklch(34.1% 0.144 302.5);
Tailwind
colors: {
  custom: {
    50: '#805c9d',
    500: '#481a74',
    950: '#000000',
  },
}
SCSS
$custom: #481a74;
$custom-light: #805c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#481a74",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 270.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.1444,
    "h": 302.5
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#481A74
secondary
#74A941
accent
#E64192
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481A74

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

Preview Lab → · Contrast checker → · Palette generator →

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