#481F76#481F76

#481F76 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.140 H 300.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#481F76
RGBrgb(72, 31, 118)
HSLhsl(268, 58%, 29%)
HSVhsv(268, 74%, 46%)
CMYKcmyk(39%, 73.7%, 0%, 53.7%)
CIE-LABlab(22.53, 37.66, -42.31)
CIE-LCHlch(22.53, 56.64, 311.67°)
OKLaboklab(34.89% 0.0719 -0.1206)
OKLCHoklch(34.89% 0.14 300.8)
XYZxyz(6.4317, 3.6657, 17.5047)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F76 #4D761F
analogous
#1F2276 #481F76 #741F76
triadic
#481F76 #76481F #1F7648
tetradic
#481F76 #761F22 #4D761F #1F7674
square
#481F76 #761F22 #4D761F #1F7674
split-complementary
#481F76 #76741F #22761F
monochromatic
#0F0618 #2A1246 #481F76 #662CA6 #8442CD

Accessibility & contrast

On white

12.12
#481F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#481F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F76
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F76#FFFFFF#000000##FFFFFF
##481F761.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#3E3448
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481f76;
/* rgb */ color: rgb(72, 31, 118);
/* oklch */ color: oklch(34.9% 0.140 300.8);
Tailwind
colors: {
  custom: {
    50: '#805e9e',
    500: '#481f76',
    950: '#000000',
  },
}
SCSS
$custom: #481f76;
$custom-light: #805e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#481f76",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 268.276,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34891,
    "c": 0.14045,
    "h": 300.8
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#481F76
secondary
#7BAA47
accent
#E24698
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #481F76

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

Preview Lab → · Contrast checker → · Palette generator →

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