#481D7C#481D7C

#481D7C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.150 H 299.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#481D7C
RGBrgb(72, 29, 124)
HSLhsl(267, 62%, 30%)
HSVhsv(267, 77%, 49%)
CMYKcmyk(41.9%, 76.6%, 0%, 51.4%)
CIE-LABlab(22.69, 40.26, -45.88)
CIE-LCHlch(22.69, 61.04, 311.27°)
OKLaboklab(35.16% 0.0727 -0.1311)
OKLCHoklch(35.16% 0.15 299)
XYZxyz(6.7490, 3.7116, 19.4257)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481D7C #517C1D
analogous
#1D217C #481D7C #781D7C
triadic
#481D7C #7C481D #1D7C48
tetradic
#481D7C #7C1D21 #517C1D #1D7C78
square
#481D7C #7C1D21 #517C1D #1D7C78
split-complementary
#481D7C #7C781D #217C1D
monochromatic
#0E0619 #2B114A #481D7C #6529AE #8341D3

Accessibility & contrast

On white

12.05
#481D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#481D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481D7C
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481D7C#FFFFFF#000000##FFFFFF
##481D7C1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#3B354B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481d7c;
/* rgb */ color: rgb(72, 29, 124);
/* oklch */ color: oklch(35.2% 0.150 299.0);
Tailwind
colors: {
  custom: {
    50: '#805ea3',
    500: '#481d7c',
    950: '#000000',
  },
}
SCSS
$custom: #481d7c;
$custom-light: #805ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#481d7c",
  "rgb": {
    "r": 72,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 267.158,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.35164,
    "c": 0.1499,
    "h": 299
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#481D7C
secondary
#7FB045
accent
#E5439C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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