#481F6B#481F6B

#481F6B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.127 H 305.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#481F6B
RGBrgb(72, 31, 107)
HSLhsl(272, 55%, 27%)
HSVhsv(272, 71%, 42%)
CMYKcmyk(32.7%, 71%, 0%, 58%)
CIE-LABlab(21.65, 34.74, -36.65)
CIE-LCHlch(21.65, 50.50, 313.46°)
OKLaboklab(33.98% 0.0737 -0.104)
OKLCHoklch(33.98% 0.127 305.3)
XYZxyz(5.8157, 3.4193, 14.2607)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F6B #426B1F
analogous
#221F6B #481F6B #6B1F68
triadic
#481F6B #6B481F #1F6B48
tetradic
#481F6B #6B221F #426B1F #1F686B
square
#481F6B #6B221F #426B1F #1F686B
split-complementary
#481F6B #686B1F #1F6B22
monochromatic
#100718 #28113C #481F6B #682D9A #883DC7

Accessibility & contrast

On white

12.47
#481F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#481F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F6B
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F6B#FFFFFF#000000##FFFFFF
##481F6B1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#073469
Tritanopia (blue-blind)
#423042
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481f6b;
/* rgb */ color: rgb(72, 31, 107);
/* oklch */ color: oklch(34.0% 0.127 305.3);
Tailwind
colors: {
  custom: {
    50: '#7e5e96',
    500: '#481f6b',
    950: '#000000',
  },
}
SCSS
$custom: #481f6b;
$custom-light: #7e5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#481f6b",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 272.368,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33982,
    "c": 0.12745,
    "h": 305.3
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#481F6B
secondary
#6F9F47
accent
#DE498E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #481F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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