#481F74#481F74

#481F74 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.138 H 301.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#481F74
RGBrgb(72, 31, 116)
HSLhsl(269, 58%, 29%)
HSVhsv(269, 73%, 45%)
CMYKcmyk(37.9%, 73.3%, 0%, 54.5%)
CIE-LABlab(22.37, 37.12, -41.30)
CIE-LCHlch(22.37, 55.53, 311.95°)
OKLaboklab(34.72% 0.0723 -0.1177)
OKLCHoklch(34.72% 0.138 301.6)
XYZxyz(6.3141, 3.6186, 16.8854)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F74 #4B741F
analogous
#1F2174 #481F74 #731F74
triadic
#481F74 #74481F #1F7448
tetradic
#481F74 #741F21 #4B741F #1F7473
square
#481F74 #741F21 #4B741F #1F7473
split-complementary
#481F74 #74731F #21741F
monochromatic
#0F0618 #2A1244 #481F74 #662CA4 #8441CC

Accessibility & contrast

On white

12.18
#481F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481F74
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F74#FFFFFF#000000##FFFFFF
##481F741.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#3F3347
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481f74;
/* rgb */ color: rgb(72, 31, 116);
/* oklch */ color: oklch(34.7% 0.138 301.6);
Tailwind
colors: {
  custom: {
    50: '#7f5e9d',
    500: '#481f74',
    950: '#000000',
  },
}
SCSS
$custom: #481f74;
$custom-light: #7f5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#481f74",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 268.941,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34721,
    "c": 0.13809,
    "h": 301.6
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#481F74
secondary
#79A847
accent
#E14797
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #481F74

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

Preview Lab → · Contrast checker → · Palette generator →

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