#481F7D#481F7D

#481F7D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.149 H 298.3°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#481F7D
RGBrgb(72, 31, 125)
HSLhsl(266, 60%, 31%)
HSVhsv(266, 75%, 49%)
CMYKcmyk(42.4%, 75.2%, 0%, 51%)
CIE-LABlab(23.13, 39.55, -45.80)
CIE-LCHlch(23.13, 60.51, 310.81°)
OKLaboklab(35.5% 0.0705 -0.1309)
OKLCHoklch(35.5% 0.149 298.3)
XYZxyz(6.8632, 3.8383, 19.7773)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F7D #547D1F
analogous
#1F257D #481F7D #771F7D
triadic
#481F7D #7D481F #1F7D48
tetradic
#481F7D #7D1F25 #547D1F #1F7D77
square
#481F7D #7D1F25 #547D1F #1F7D77
split-complementary
#481F7D #7D771F #257D1F
monochromatic
#10071B #2C134C #481F7D #642BAE #8245D1

Accessibility & contrast

On white

11.88
#481F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#481F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F7D
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F7D#FFFFFF#000000##FFFFFF
##481F7D1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#3B374C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481f7d;
/* rgb */ color: rgb(72, 31, 125);
/* oklch */ color: oklch(35.5% 0.149 298.3);
Tailwind
colors: {
  custom: {
    50: '#805fa3',
    500: '#481f7d',
    950: '#000000',
  },
}
SCSS
$custom: #481f7d;
$custom-light: #805fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#481f7d",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 266.17,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35499,
    "c": 0.14866,
    "h": 298.3
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#481F7D
secondary
#83B048
accent
#E3449E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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