#481D7E#481D7E

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

Color values

HEX#481D7E
RGBrgb(72, 29, 126)
HSLhsl(267, 63%, 30%)
HSVhsv(267, 77%, 49%)
CMYKcmyk(42.9%, 77%, 0%, 50.6%)
CIE-LABlab(22.87, 40.80, -46.86)
CIE-LCHlch(22.87, 62.13, 311.05°)
OKLaboklab(35.34% 0.0722 -0.134)
OKLCHoklch(35.34% 0.152 298.3)
XYZxyz(6.8768, 3.7627, 20.0986)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481D7E #537E1D
analogous
#1D227E #481D7E #781D7E
triadic
#481D7E #7E481D #1D7E48
tetradic
#481D7E #7E1D22 #537E1D #1D7E78
square
#481D7E #7E1D22 #537E1D #1D7E78
split-complementary
#481D7E #7E781D #227E1D
monochromatic
#0F061B #2C124C #481D7E #6428B0 #8242D3

Accessibility & contrast

On white

11.98
#481D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481D7E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481D7E#FFFFFF#000000##FFFFFF
##481D7E1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#3B364C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481d7e;
/* rgb */ color: rgb(72, 29, 126);
/* oklch */ color: oklch(35.3% 0.152 298.3);
Tailwind
colors: {
  custom: {
    50: '#815ea4',
    500: '#481d7e',
    950: '#000000',
  },
}
SCSS
$custom: #481d7e;
$custom-light: #815ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#481d7e",
  "rgb": {
    "r": 72,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 266.598,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.15219,
    "h": 298.3
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#481D7E
secondary
#82B145
accent
#E6429D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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