#481F7C#481F7C

#481F7C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.147 H 298.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#481F7C
RGBrgb(72, 31, 124)
HSLhsl(266, 60%, 30%)
HSVhsv(266, 75%, 49%)
CMYKcmyk(41.9%, 75%, 0%, 51.4%)
CIE-LABlab(23.04, 39.28, -45.31)
CIE-LCHlch(23.04, 59.96, 310.92°)
OKLaboklab(35.41% 0.0707 -0.1294)
OKLCHoklch(35.41% 0.147 298.6)
XYZxyz(6.7996, 3.8128, 19.4426)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F7C #537C1F
analogous
#1F247C #481F7C #761F7C
triadic
#481F7C #7C481F #1F7C48
tetradic
#481F7C #7C1F24 #537C1F #1F7C76
square
#481F7C #7C1F24 #537C1F #1F7C76
split-complementary
#481F7C #7C761F #247C1F
monochromatic
#0F071A #2C134B #481F7C #642BAD #8245D0

Accessibility & contrast

On white

11.91
#481F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481F7C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F7C#FFFFFF#000000##FFFFFF
##481F7C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#3B364B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481f7c;
/* rgb */ color: rgb(72, 31, 124);
/* oklch */ color: oklch(35.4% 0.147 298.6);
Tailwind
colors: {
  custom: {
    50: '#805fa3',
    500: '#481f7c',
    950: '#000000',
  },
}
SCSS
$custom: #481f7c;
$custom-light: #805fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#481f7c",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 266.452,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35411,
    "c": 0.14749,
    "h": 298.6
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#481F7C
secondary
#82AF48
accent
#E3459D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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