#481D7F#481D7F

#481D7F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.153 H 298.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#481D7F
RGBrgb(72, 29, 127)
HSLhsl(266, 63%, 31%)
HSVhsv(266, 77%, 50%)
CMYKcmyk(43.3%, 77.2%, 0%, 50.2%)
CIE-LABlab(22.96, 41.07, -47.35)
CIE-LCHlch(22.96, 62.68, 310.94°)
OKLaboklab(35.43% 0.0719 -0.1354)
OKLCHoklch(35.43% 0.153 298)
XYZxyz(6.9416, 3.7886, 20.4401)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481D7F #547F1D
analogous
#1D237F #481D7F #791D7F
triadic
#481D7F #7F481D #1D7F48
tetradic
#481D7F #7F1D23 #547F1D #1D7F79
square
#481D7F #7F1D23 #547F1D #1D7F79
split-complementary
#481D7F #7F791D #237F1D
monochromatic
#10061B #2C124D #481D7F #6428B1 #8242D4

Accessibility & contrast

On white

11.95
#481D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#481D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481D7F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481D7F#FFFFFF#000000##FFFFFF
##481D7F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#3A374D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481d7f;
/* rgb */ color: rgb(72, 29, 127);
/* oklch */ color: oklch(35.4% 0.153 298.0);
Tailwind
colors: {
  custom: {
    50: '#815ea5',
    500: '#481d7f',
    950: '#000000',
  },
}
SCSS
$custom: #481d7f;
$custom-light: #815ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#481d7f",
  "rgb": {
    "r": 72,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 266.327,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35434,
    "c": 0.15334,
    "h": 298
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#481D7F
secondary
#83B245
accent
#E6429E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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