#481F7A#481F7A

#481F7A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.145 H 299.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#481F7A
RGBrgb(72, 31, 122)
HSLhsl(267, 59%, 30%)
HSVhsv(267, 75%, 48%)
CMYKcmyk(41%, 74.6%, 0%, 52.2%)
CIE-LABlab(22.87, 38.73, -44.32)
CIE-LCHlch(22.87, 58.86, 311.15°)
OKLaboklab(35.24% 0.0711 -0.1265)
OKLCHoklch(35.24% 0.145 299.3)
XYZxyz(6.6744, 3.7628, 18.7832)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F7A #517A1F
analogous
#1F247A #481F7A #751F7A
triadic
#481F7A #7A481F #1F7A48
tetradic
#481F7A #7A1F24 #517A1F #1F7A75
square
#481F7A #7A1F24 #517A1F #1F7A75
split-complementary
#481F7A #7A751F #247A1F
monochromatic
#0E0618 #2B1349 #481F7A #652BAB #8344CF

Accessibility & contrast

On white

11.98
#481F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#481F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F7A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F7A#FFFFFF#000000##FFFFFF
##481F7A1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#3C364A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481f7a;
/* rgb */ color: rgb(72, 31, 122);
/* oklch */ color: oklch(35.2% 0.145 299.3);
Tailwind
colors: {
  custom: {
    50: '#805fa1',
    500: '#481f7a',
    950: '#000000',
  },
}
SCSS
$custom: #481f7a;
$custom-light: #805fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#481f7a",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 267.033,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.35236,
    "c": 0.14514,
    "h": 299.3
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#481F7A
secondary
#7FAD47
accent
#E3459C
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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