#481D79#481D79

#481D79 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.146 H 300.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#481D79
RGBrgb(72, 29, 121)
HSLhsl(268, 61%, 29%)
HSVhsv(268, 76%, 47%)
CMYKcmyk(40.5%, 76%, 0%, 52.5%)
CIE-LABlab(22.43, 39.46, -44.39)
CIE-LCHlch(22.43, 59.40, 311.63°)
OKLaboklab(34.9% 0.0734 -0.1267)
OKLCHoklch(34.9% 0.146 300.1)
XYZxyz(6.5622, 3.6369, 18.4417)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481D79 #4E791D
analogous
#1D2079 #481D79 #761D79
triadic
#481D79 #79481D #1D7948
tetradic
#481D79 #791D20 #4E791D #1D7976
square
#481D79 #791D20 #4E791D #1D7976
split-complementary
#481D79 #79761D #20791D
monochromatic
#0F0619 #2B1148 #481D79 #6529AA #833FD1

Accessibility & contrast

On white

12.16
#481D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481D79
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481D79#FFFFFF#000000##FFFFFF
##481D791.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#3D3449
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481d79;
/* rgb */ color: rgb(72, 29, 121);
/* oklch */ color: oklch(34.9% 0.146 300.1);
Tailwind
colors: {
  custom: {
    50: '#805da0',
    500: '#481d79',
    950: '#000000',
  },
}
SCSS
$custom: #481d79;
$custom-light: #805da0;
$custom-dark: #000000;
JSON
{
  "hex": "#481d79",
  "rgb": {
    "r": 72,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 268.043,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34899,
    "c": 0.14645,
    "h": 300.1
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#481D79
secondary
#7CAD45
accent
#E44399
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481D79

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

Preview Lab → · Contrast checker → · Palette generator →

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