#481F7B#481F7B

#481F7B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.146 H 299.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#481F7B
RGBrgb(72, 31, 123)
HSLhsl(267, 60%, 30%)
HSVhsv(267, 75%, 48%)
CMYKcmyk(41.5%, 74.8%, 0%, 51.8%)
CIE-LABlab(22.96, 39.00, -44.81)
CIE-LCHlch(22.96, 59.41, 311.04°)
OKLaboklab(35.32% 0.0709 -0.128)
OKLCHoklch(35.32% 0.146 299)
XYZxyz(6.7367, 3.7877, 19.1112)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F7B #527B1F
analogous
#1F247B #481F7B #761F7B
triadic
#481F7B #7B481F #1F7B48
tetradic
#481F7B #7B1F24 #527B1F #1F7B76
square
#481F7B #7B1F24 #527B1F #1F7B76
split-complementary
#481F7B #7B761F #247B1F
monochromatic
#0F0619 #2B134A #481F7B #652BAC #8344D0

Accessibility & contrast

On white

11.95
#481F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#481F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F7B
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F7B#FFFFFF#000000##FFFFFF
##481F7B1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#3C364B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481f7b;
/* rgb */ color: rgb(72, 31, 123);
/* oklch */ color: oklch(35.3% 0.146 299.0);
Tailwind
colors: {
  custom: {
    50: '#805fa2',
    500: '#481f7b',
    950: '#000000',
  },
}
SCSS
$custom: #481f7b;
$custom-light: #805fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#481f7b",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 266.739,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.14632,
    "h": 299
  },
  "luminance": 0.03788
}

Semantic roles & 50–950 ramp

primary
#481F7B
secondary
#80AE48
accent
#E3459C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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