#481C7E#481C7E

#481C7E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.153 H 298.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#481C7E
RGBrgb(72, 28, 126)
HSLhsl(267, 64%, 30%)
HSVhsv(267, 78%, 49%)
CMYKcmyk(42.9%, 77.8%, 0%, 50.6%)
CIE-LABlab(22.70, 41.27, -47.13)
CIE-LCHlch(22.70, 62.65, 311.21°)
OKLaboklab(35.23% 0.0731 -0.1348)
OKLCHoklch(35.23% 0.153 298.5)
XYZxyz(6.8527, 3.7145, 20.0905)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C7E #527E1C
analogous
#1C217E #481C7E #791C7E
triadic
#481C7E #7E481C #1C7E48
tetradic
#481C7E #7E1C21 #527E1C #1C7E79
square
#481C7E #7E1C21 #527E1C #1C7E79
split-complementary
#481C7E #7E791C #217E1C
monochromatic
#0F061A #2B114C #481C7E #6527B0 #8340D5

Accessibility & contrast

On white

12.05
#481C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481C7E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C7E#FFFFFF#000000##FFFFFF
##481C7E1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#3B364C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481c7e;
/* rgb */ color: rgb(72, 28, 126);
/* oklch */ color: oklch(35.2% 0.153 298.5);
Tailwind
colors: {
  custom: {
    50: '#815da4',
    500: '#481c7e',
    950: '#000000',
  },
}
SCSS
$custom: #481c7e;
$custom-light: #815da4;
$custom-dark: #000000;
JSON
{
  "hex": "#481c7e",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 266.939,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35226,
    "c": 0.15334,
    "h": 298.5
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#481C7E
secondary
#80B244
accent
#E7419C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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