#481C7D#481C7D

#481C7D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.152 H 298.8°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#481C7D
RGBrgb(72, 28, 125)
HSLhsl(267, 63%, 30%)
HSVhsv(267, 78%, 49%)
CMYKcmyk(42.4%, 77.6%, 0%, 51%)
CIE-LABlab(22.61, 41.01, -46.64)
CIE-LCHlch(22.61, 62.11, 311.32°)
OKLaboklab(35.14% 0.0734 -0.1333)
OKLCHoklch(35.14% 0.152 298.8)
XYZxyz(6.7885, 3.6888, 19.7524)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C7D #517D1C
analogous
#1C217D #481C7D #781C7D
triadic
#481C7D #7D481C #1C7D48
tetradic
#481C7D #7D1C21 #517D1C #1C7D78
square
#481C7D #7D1C21 #517D1C #1C7D78
split-complementary
#481C7D #7D781C #217D1C
monochromatic
#0E0619 #2B114B #481C7D #6527AF #833FD4

Accessibility & contrast

On white

12.08
#481C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#481C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C7D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C7D#FFFFFF#000000##FFFFFF
##481C7D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.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: #481c7d;
/* rgb */ color: rgb(72, 28, 125);
/* oklch */ color: oklch(35.1% 0.152 298.8);
Tailwind
colors: {
  custom: {
    50: '#815da3',
    500: '#481c7d',
    950: '#000000',
  },
}
SCSS
$custom: #481c7d;
$custom-light: #815da3;
$custom-dark: #000000;
JSON
{
  "hex": "#481c7d",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 267.216,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.35136,
    "c": 0.1522,
    "h": 298.8
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#481C7D
secondary
#7FB144
accent
#E6419C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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