#481F7F#481F7F

#481F7F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.151 H 297.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#481F7F
RGBrgb(72, 31, 127)
HSLhsl(266, 61%, 31%)
HSVhsv(266, 76%, 50%)
CMYKcmyk(43.3%, 75.6%, 0%, 50.2%)
CIE-LABlab(23.30, 40.09, -46.78)
CIE-LCHlch(23.30, 61.61, 310.60°)
OKLaboklab(35.68% 0.07 -0.1338)
OKLCHoklch(35.68% 0.151 297.6)
XYZxyz(6.9922, 3.8899, 20.4570)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F7F #567F1F
analogous
#1F267F #481F7F #781F7F
triadic
#481F7F #7F481F #1F7F48
tetradic
#481F7F #7F1F26 #567F1F #1F7F78
square
#481F7F #7F1F26 #567F1F #1F7F78
split-complementary
#481F7F #7F781F #267F1F
monochromatic
#10071D #2C134E #481F7F #642BB0 #8246D2

Accessibility & contrast

On white

11.81
#481F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#481F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F7F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F7F#FFFFFF#000000##FFFFFF
##481F7F1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#3A384D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481f7f;
/* rgb */ color: rgb(72, 31, 127);
/* oklch */ color: oklch(35.7% 0.151 297.6);
Tailwind
colors: {
  custom: {
    50: '#815fa5',
    500: '#481f7f',
    950: '#000000',
  },
}
SCSS
$custom: #481f7f;
$custom-light: #815fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#481f7f",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 265.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35677,
    "c": 0.15099,
    "h": 297.6
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#481F7F
secondary
#85B248
accent
#E444A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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