#481C74#481C74

#481C74 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.142 H 302.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#481C74
RGBrgb(72, 28, 116)
HSLhsl(270, 61%, 28%)
HSVhsv(270, 76%, 45%)
CMYKcmyk(37.9%, 75.9%, 0%, 54.5%)
CIE-LABlab(21.83, 38.63, -42.17)
CIE-LCHlch(21.83, 57.19, 312.49°)
OKLaboklab(34.34% 0.0755 -0.1202)
OKLCHoklch(34.34% 0.142 302.1)
XYZxyz(6.2394, 3.4692, 16.8605)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C74 #48741C
analogous
#1C1C74 #481C74 #741C74
triadic
#481C74 #74481C #1C7448
tetradic
#481C74 #741C1C #48741C #1C7474
square
#481C74 #741C1C #48741C #1C7474
split-complementary
#481C74 #74741C #1C741C
monochromatic
#0F0619 #291043 #481C74 #6728A5 #853BD0

Accessibility & contrast

On white

12.40
#481C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481C74
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C74#FFFFFF#000000##FFFFFF
##481C741.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#3F3246
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481c74;
/* rgb */ color: rgb(72, 28, 116);
/* oklch */ color: oklch(34.3% 0.142 302.1);
Tailwind
colors: {
  custom: {
    50: '#805d9d',
    500: '#481c74',
    950: '#000000',
  },
}
SCSS
$custom: #481c74;
$custom-light: #805d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#481c74",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 270,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34341,
    "c": 0.14196,
    "h": 302.1
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#481C74
secondary
#76A843
accent
#E44494
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481C74

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

Preview Lab → · Contrast checker → · Palette generator →

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