#481E7F#481E7F

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

Color values

HEX#481E7F
RGBrgb(72, 30, 127)
HSLhsl(266, 62%, 31%)
HSVhsv(266, 76%, 50%)
CMYKcmyk(43.3%, 76.4%, 0%, 50.2%)
CIE-LABlab(23.13, 40.59, -47.07)
CIE-LCHlch(23.13, 62.15, 310.77°)
OKLaboklab(35.55% 0.071 -0.1346)
OKLCHoklch(35.55% 0.152 297.8)
XYZxyz(6.9665, 3.8384, 20.4484)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E7F #557F1E
analogous
#1E257F #481E7F #781E7F
triadic
#481E7F #7F481E #1E7F48
tetradic
#481E7F #7F1E25 #557F1E #1E7F78
square
#481E7F #7F1E25 #557F1E #1E7F78
split-complementary
#481E7F #7F781E #257F1E
monochromatic
#10071C #2C124D #481E7F #642AB1 #8244D3

Accessibility & contrast

On white

11.88
#481E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481E7F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E7F#FFFFFF#000000##FFFFFF
##481E7F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#3A374D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481e7f;
/* rgb */ color: rgb(72, 30, 127);
/* oklch */ color: oklch(35.6% 0.152 297.8);
Tailwind
colors: {
  custom: {
    50: '#815ea5',
    500: '#481e7f',
    950: '#000000',
  },
}
SCSS
$custom: #481e7f;
$custom-light: #815ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#481e7f",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 265.979,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35554,
    "c": 0.15217,
    "h": 297.8
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#481E7F
secondary
#84B247
accent
#E5439F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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