#481B7D#481B7D

#481B7D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.153 H 299.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#481B7D
RGBrgb(72, 27, 125)
HSLhsl(268, 64%, 30%)
HSVhsv(268, 78%, 49%)
CMYKcmyk(42.4%, 78.4%, 0%, 51%)
CIE-LABlab(22.45, 41.47, -46.91)
CIE-LCHlch(22.45, 62.61, 311.48°)
OKLaboklab(35.02% 0.0743 -0.1341)
OKLCHoklch(35.02% 0.153 299)
XYZxyz(6.7651, 3.6422, 19.7446)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B7D #507D1B
analogous
#1B1F7D #481B7D #791B7D
triadic
#481B7D #7D481B #1B7D48
tetradic
#481B7D #7D1B1F #507D1B #1B7D79
square
#481B7D #7D1B1F #507D1B #1B7D79
split-complementary
#481B7D #7D791B #1F7D1B
monochromatic
#0E0519 #2B104B #481B7D #6526AF #833DD5

Accessibility & contrast

On white

12.15
#481B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#481B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B7D
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B7D#FFFFFF#000000##FFFFFF
##481B7D1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#3B354B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481b7d;
/* rgb */ color: rgb(72, 27, 125);
/* oklch */ color: oklch(35.0% 0.153 299.0);
Tailwind
colors: {
  custom: {
    50: '#815da3',
    500: '#481b7d',
    950: '#000000',
  },
}
SCSS
$custom: #481b7d;
$custom-light: #815da3;
$custom-dark: #000000;
JSON
{
  "hex": "#481b7d",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 267.551,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35021,
    "c": 0.15334,
    "h": 299
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#481B7D
secondary
#7EB143
accent
#E7409B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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