#481C7B#481C7B

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

Color values

HEX#481C7B
RGBrgb(72, 28, 123)
HSLhsl(268, 63%, 30%)
HSVhsv(268, 77%, 48%)
CMYKcmyk(41.5%, 77.2%, 0%, 51.8%)
CIE-LABlab(22.44, 40.48, -45.66)
CIE-LCHlch(22.44, 61.02, 311.56°)
OKLaboklab(34.96% 0.0739 -0.1305)
OKLCHoklch(34.96% 0.15 299.5)
XYZxyz(6.6620, 3.6382, 19.0863)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C7B #4F7B1C
analogous
#1C207B #481C7B #771C7B
triadic
#481C7B #7B481C #1C7B48
tetradic
#481C7B #7B1C20 #4F7B1C #1C7B77
square
#481C7B #7B1C20 #4F7B1C #1C7B77
split-complementary
#481C7B #7B771C #207B1C
monochromatic
#0F0619 #2B1149 #481C7B #6527AD #833ED3

Accessibility & contrast

On white

12.16
#481C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481C7B
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C7B#FFFFFF#000000##FFFFFF
##481C7B1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#3C344A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481c7b;
/* rgb */ color: rgb(72, 28, 123);
/* oklch */ color: oklch(35.0% 0.150 299.5);
Tailwind
colors: {
  custom: {
    50: '#805da2',
    500: '#481c7b',
    950: '#000000',
  },
}
SCSS
$custom: #481c7b;
$custom-light: #805da2;
$custom-dark: #000000;
JSON
{
  "hex": "#481c7b",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 267.789,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34956,
    "c": 0.14994,
    "h": 299.5
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#481C7B
secondary
#7DAF44
accent
#E6429A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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