#481C7C#481C7C

#481C7C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.151 H 299.2°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#481C7C
RGBrgb(72, 28, 124)
HSLhsl(268, 63%, 30%)
HSVhsv(268, 77%, 49%)
CMYKcmyk(41.9%, 77.4%, 0%, 51.4%)
CIE-LABlab(22.53, 40.74, -46.15)
CIE-LCHlch(22.53, 61.56, 311.44°)
OKLaboklab(35.05% 0.0736 -0.1319)
OKLCHoklch(35.05% 0.151 299.2)
XYZxyz(6.7249, 3.6634, 19.4177)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C7C #507C1C
analogous
#1C207C #481C7C #781C7C
triadic
#481C7C #7C481C #1C7C48
tetradic
#481C7C #7C1C20 #507C1C #1C7C78
square
#481C7C #7C1C20 #507C1C #1C7C78
split-complementary
#481C7C #7C781C #207C1C
monochromatic
#0E0619 #2B114A #481C7C #6527AE #833FD4

Accessibility & contrast

On white

12.12
#481C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481C7C
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C7C#FFFFFF#000000##FFFFFF
##481C7C1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#3B354B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481c7c;
/* rgb */ color: rgb(72, 28, 124);
/* oklch */ color: oklch(35.0% 0.151 299.2);
Tailwind
colors: {
  custom: {
    50: '#805da3',
    500: '#481c7c',
    950: '#000000',
  },
}
SCSS
$custom: #481c7c;
$custom-light: #805da3;
$custom-dark: #000000;
JSON
{
  "hex": "#481c7c",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 267.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35046,
    "c": 0.15106,
    "h": 299.2
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#481C7C
secondary
#7EB044
accent
#E6429B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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