#481F7E#481F7E

#481F7E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.150 H 298.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#481F7E
RGBrgb(72, 31, 126)
HSLhsl(266, 61%, 31%)
HSVhsv(266, 75%, 49%)
CMYKcmyk(42.9%, 75.4%, 0%, 50.6%)
CIE-LABlab(23.22, 39.82, -46.29)
CIE-LCHlch(23.22, 61.06, 310.70°)
OKLaboklab(35.59% 0.0702 -0.1323)
OKLCHoklch(35.59% 0.15 298)
XYZxyz(6.9274, 3.8639, 20.1155)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F7E #557E1F
analogous
#1F257E #481F7E #771F7E
triadic
#481F7E #7E481F #1F7E48
tetradic
#481F7E #7E1F25 #557E1F #1F7E77
square
#481F7E #7E1F25 #557E1F #1F7E77
split-complementary
#481F7E #7E771F #257E1F
monochromatic
#10071C #2C134D #481F7E #642BAF #8246D1

Accessibility & contrast

On white

11.85
#481F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#481F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F7E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F7E#FFFFFF#000000##FFFFFF
##481F7E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481f7e;
/* rgb */ color: rgb(72, 31, 126);
/* oklch */ color: oklch(35.6% 0.150 298.0);
Tailwind
colors: {
  custom: {
    50: '#805fa4',
    500: '#481f7e',
    950: '#000000',
  },
}
SCSS
$custom: #481f7e;
$custom-light: #805fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#481f7e",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 265.895,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35588,
    "c": 0.14982,
    "h": 298
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#481F7E
secondary
#84B148
accent
#E4449F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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