#481C7F#481C7F

#481C7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.154 H 298.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#481C7F
RGBrgb(72, 28, 127)
HSLhsl(267, 64%, 30%)
HSVhsv(267, 78%, 50%)
CMYKcmyk(43.3%, 78%, 0%, 50.2%)
CIE-LABlab(22.79, 41.54, -47.62)
CIE-LCHlch(22.79, 63.19, 311.10°)
OKLaboklab(35.32% 0.0729 -0.1362)
OKLCHoklch(35.32% 0.154 298.1)
XYZxyz(6.9175, 3.7404, 20.4321)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C7F #537F1C
analogous
#1C217F #481C7F #791C7F
triadic
#481C7F #7F481C #1C7F48
tetradic
#481C7F #7F1C21 #537F1C #1C7F79
square
#481C7F #7F1C21 #537F1C #1C7F79
split-complementary
#481C7F #7F791C #217F1C
monochromatic
#0F061B #2C114D #481C7F #6427B1 #8240D5

Accessibility & contrast

On white

12.01
#481C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481C7F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C7F#FFFFFF#000000##FFFFFF
##481C7F1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#3A364C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481c7f;
/* rgb */ color: rgb(72, 28, 127);
/* oklch */ color: oklch(35.3% 0.154 298.1);
Tailwind
colors: {
  custom: {
    50: '#815da5',
    500: '#481c7f',
    950: '#000000',
  },
}
SCSS
$custom: #481c7f;
$custom-light: #815da5;
$custom-dark: #000000;
JSON
{
  "hex": "#481c7f",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 266.667,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35317,
    "c": 0.15446,
    "h": 298.1
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#481C7F
secondary
#82B344
accent
#E7419D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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