#481F79#481F79

#481F79 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.144 H 299.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#481F79
RGBrgb(72, 31, 121)
HSLhsl(267, 59%, 30%)
HSVhsv(267, 74%, 47%)
CMYKcmyk(40.5%, 74.4%, 0%, 52.5%)
CIE-LABlab(22.79, 38.46, -43.82)
CIE-LCHlch(22.79, 58.31, 311.28°)
OKLaboklab(35.15% 0.0713 -0.1251)
OKLCHoklch(35.15% 0.144 299.7)
XYZxyz(6.6128, 3.7381, 18.4586)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F79 #50791F
analogous
#1F2379 #481F79 #751F79
triadic
#481F79 #79481F #1F7948
tetradic
#481F79 #791F23 #50791F #1F7975
square
#481F79 #791F23 #50791F #1F7975
split-complementary
#481F79 #79751F #23791F
monochromatic
#0E0618 #2B1348 #481F79 #652BAA #8343CF

Accessibility & contrast

On white

12.02
#481F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#481F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F79
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F79#FFFFFF#000000##FFFFFF
##481F791.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#3D354A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481f79;
/* rgb */ color: rgb(72, 31, 121);
/* oklch */ color: oklch(35.1% 0.144 299.7);
Tailwind
colors: {
  custom: {
    50: '#805fa0',
    500: '#481f79',
    950: '#000000',
  },
}
SCSS
$custom: #481f79;
$custom-light: #805fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#481f79",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 267.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35149,
    "c": 0.14398,
    "h": 299.7
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#481F79
secondary
#7EAC47
accent
#E2459B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #481F79

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

Preview Lab → · Contrast checker → · Palette generator →

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