#481F73#481F73

#481F73 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.137 H 302.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#481F73
RGBrgb(72, 31, 115)
HSLhsl(269, 58%, 29%)
HSVhsv(269, 73%, 45%)
CMYKcmyk(37.4%, 73%, 0%, 54.9%)
CIE-LABlab(22.29, 36.85, -40.79)
CIE-LCHlch(22.29, 54.97, 312.10°)
OKLaboklab(34.64% 0.0725 -0.1162)
OKLCHoklch(34.64% 0.137 302)
XYZxyz(6.2562, 3.5955, 16.5807)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F73 #4A731F
analogous
#1F2073 #481F73 #721F73
triadic
#481F73 #73481F #1F7348
tetradic
#481F73 #731F20 #4A731F #1F7372
square
#481F73 #731F20 #4A731F #1F7372
split-complementary
#481F73 #73721F #20731F
monochromatic
#0F0618 #2A1243 #481F73 #662CA3 #8541CC

Accessibility & contrast

On white

12.22
#481F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#481F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F73
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F73#FFFFFF#000000##FFFFFF
##481F731.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#3F3346
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481f73;
/* rgb */ color: rgb(72, 31, 115);
/* oklch */ color: oklch(34.6% 0.137 302.0);
Tailwind
colors: {
  custom: {
    50: '#7f5e9c',
    500: '#481f73',
    950: '#000000',
  },
}
SCSS
$custom: #481f73;
$custom-light: #7f5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#481f73",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 269.286,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34637,
    "c": 0.13692,
    "h": 302
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#481F73
secondary
#78A747
accent
#E14796
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #481F73

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

Preview Lab → · Contrast checker → · Palette generator →

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