#481E7B#481E7B

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

Color values

HEX#481E7B
RGBrgb(72, 30, 123)
HSLhsl(267, 61%, 30%)
HSVhsv(267, 76%, 48%)
CMYKcmyk(41.5%, 75.6%, 0%, 51.8%)
CIE-LABlab(22.78, 39.51, -45.10)
CIE-LCHlch(22.78, 59.96, 311.22°)
OKLaboklab(35.2% 0.0719 -0.1288)
OKLCHoklch(35.2% 0.148 299.2)
XYZxyz(6.7110, 3.7362, 19.1026)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E7B #517B1E
analogous
#1E227B #481E7B #771E7B
triadic
#481E7B #7B481E #1E7B48
tetradic
#481E7B #7B1E22 #517B1E #1E7B77
square
#481E7B #7B1E22 #517B1E #1E7B77
split-complementary
#481E7B #7B771E #227B1E
monochromatic
#0E0619 #2B124A #481E7B #652AAC #8342D1

Accessibility & contrast

On white

12.02
#481E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#481E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E7B
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E7B#FFFFFF#000000##FFFFFF
##481E7B1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#3C354B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481e7b;
/* rgb */ color: rgb(72, 30, 123);
/* oklch */ color: oklch(35.2% 0.148 299.2);
Tailwind
colors: {
  custom: {
    50: '#805ea2',
    500: '#481e7b',
    950: '#000000',
  },
}
SCSS
$custom: #481e7b;
$custom-light: #805ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#481e7b",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 267.097,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.35198,
    "c": 0.14755,
    "h": 299.2
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#481E7B
secondary
#7FAE46
accent
#E4449C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #481E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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