#481D74#481D74

#481D74 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.141 H 302.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#481D74
RGBrgb(72, 29, 116)
HSLhsl(270, 60%, 28%)
HSVhsv(270, 75%, 45%)
CMYKcmyk(37.9%, 75%, 0%, 54.5%)
CIE-LABlab(22.01, 38.13, -41.89)
CIE-LCHlch(22.01, 56.65, 312.32°)
OKLaboklab(34.46% 0.0745 -0.1194)
OKLCHoklch(34.46% 0.141 302)
XYZxyz(6.2635, 3.5174, 16.8685)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481D74 #49741D
analogous
#1D1D74 #481D74 #731D74
triadic
#481D74 #74481D #1D7448
tetradic
#481D74 #741D1D #49741D #1D7473
square
#481D74 #741D1D #49741D #1D7473
split-complementary
#481D74 #74731D #1D741D
monochromatic
#0F0618 #2A1143 #481D74 #6629A5 #853DCE

Accessibility & contrast

On white

12.33
#481D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#481D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481D74
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481D74#FFFFFF#000000##FFFFFF
##481D741.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481d74;
/* rgb */ color: rgb(72, 29, 116);
/* oklch */ color: oklch(34.5% 0.141 302.0);
Tailwind
colors: {
  custom: {
    50: '#7f5d9d',
    500: '#481d74',
    950: '#000000',
  },
}
SCSS
$custom: #481d74;
$custom-light: #7f5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#481d74",
  "rgb": {
    "r": 72,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 269.655,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34464,
    "c": 0.1407,
    "h": 302
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#481D74
secondary
#77A845
accent
#E34595
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481D74

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

Preview Lab → · Contrast checker → · Palette generator →

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