#481F6F#481F6F

#481F6F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.132 H 303.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#481F6F
RGBrgb(72, 31, 111)
HSLhsl(271, 56%, 28%)
HSVhsv(271, 72%, 44%)
CMYKcmyk(35.1%, 72.1%, 0%, 56.5%)
CIE-LABlab(21.96, 35.79, -38.74)
CIE-LCHlch(21.96, 52.74, 312.74°)
OKLaboklab(34.31% 0.0731 -0.1101)
OKLCHoklch(34.31% 0.132 303.6)
XYZxyz(6.0311, 3.5054, 15.3947)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F6F #466F1F
analogous
#201F6F #481F6F #6F1F6E
triadic
#481F6F #6F481F #1F6F48
tetradic
#481F6F #6F201F #466F1F #1F6E6F
square
#481F6F #6F201F #466F1F #1F6E6F
split-complementary
#481F6F #6E6F1F #1F6F20
monochromatic
#100718 #29123F #481F6F #672C9F #863FC9

Accessibility & contrast

On white

12.35
#481F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#481F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F6F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F6F#FFFFFF#000000##FFFFFF
##481F6F1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#403144
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481f6f;
/* rgb */ color: rgb(72, 31, 111);
/* oklch */ color: oklch(34.3% 0.132 303.6);
Tailwind
colors: {
  custom: {
    50: '#7f5e99',
    500: '#481f6f',
    950: '#000000',
  },
}
SCSS
$custom: #481f6f;
$custom-light: #7f5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#481f6f",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 270.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34305,
    "c": 0.13219,
    "h": 303.6
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#481F6F
secondary
#74A347
accent
#E04892
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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