#481F5F#481F5F

#481F5F is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.1% C 0.113 H 311.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#481F5F
RGBrgb(72, 31, 95)
HSLhsl(278, 51%, 25%)
HSVhsv(278, 67%, 37%)
CMYKcmyk(24.2%, 67.4%, 0%, 62.7%)
CIE-LABlab(20.77, 31.67, -30.22)
CIE-LCHlch(20.77, 43.77, 316.35°)
OKLaboklab(33.06% 0.0746 -0.0851)
OKLCHoklch(33.06% 0.113 311.3)
XYZxyz(5.2276, 3.1840, 11.1634)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F5F #365F1F
analogous
#281F5F #481F5F #5F1F56
triadic
#481F5F #5F481F #1F5F48
tetradic
#481F5F #5F281F #365F1F #1F565F
square
#481F5F #5F281F #365F1F #1F565F
split-complementary
#481F5F #565F1F #1F5F28
monochromatic
#110817 #251031 #481F5F #6B2E8D #8E3DBB

Accessibility & contrast

On white

12.83
#481F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#481F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F5F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F5F#FFFFFF#000000##FFFFFF
##481F5F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033061
Deuteranopia (green-blind)
#19335E
Tritanopia (blue-blind)
#452B3C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481f5f;
/* rgb */ color: rgb(72, 31, 95);
/* oklch */ color: oklch(33.1% 0.113 311.3);
Tailwind
colors: {
  custom: {
    50: '#7d5d8d',
    500: '#481f5f',
    950: '#000000',
  },
}
SCSS
$custom: #481f5f;
$custom-light: #7d5d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#481f5f",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 278.438,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33064,
    "c": 0.1132,
    "h": 311.3
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#481F5F
secondary
#629446
accent
#DA4E80
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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