#481B7E#481B7E

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

Color values

HEX#481B7E
RGBrgb(72, 27, 126)
HSLhsl(267, 65%, 30%)
HSVhsv(267, 79%, 49%)
CMYKcmyk(42.9%, 78.6%, 0%, 50.6%)
CIE-LABlab(22.54, 41.74, -47.40)
CIE-LCHlch(22.54, 63.16, 311.37°)
OKLaboklab(35.11% 0.0741 -0.1355)
OKLCHoklch(35.11% 0.154 298.6)
XYZxyz(6.8294, 3.6678, 20.0828)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B7E #517E1B
analogous
#1B1F7E #481B7E #7A1B7E
triadic
#481B7E #7E481B #1B7E48
tetradic
#481B7E #7E1B1F #517E1B #1B7E7A
square
#481B7E #7E1B1F #517E1B #1B7E7A
split-complementary
#481B7E #7E7A1B #1F7E1B
monochromatic
#0E0519 #2B104C #481B7E #6526B0 #833ED6

Accessibility & contrast

On white

12.11
#481B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481B7E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B7E#FFFFFF#000000##FFFFFF
##481B7E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481b7e;
/* rgb */ color: rgb(72, 27, 126);
/* oklch */ color: oklch(35.1% 0.154 298.6);
Tailwind
colors: {
  custom: {
    50: '#815da4',
    500: '#481b7e',
    950: '#000000',
  },
}
SCSS
$custom: #481b7e;
$custom-light: #815da4;
$custom-dark: #000000;
JSON
{
  "hex": "#481b7e",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 267.273,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.35112,
    "c": 0.15446,
    "h": 298.6
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#481B7E
secondary
#7FB243
accent
#E8409C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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