#481B8D#481B8D

#481B8D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.171 H 294.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#481B8D
RGBrgb(72, 27, 141)
HSLhsl(264, 68%, 33%)
HSVhsv(264, 81%, 55%)
CMYKcmyk(48.9%, 80.9%, 0%, 44.7%)
CIE-LABlab(23.95, 45.74, -54.51)
CIE-LCHlch(23.95, 71.16, 310.00°)
OKLaboklab(36.53% 0.0696 -0.1564)
OKLCHoklch(36.53% 0.171 294)
XYZxyz(7.8708, 4.0844, 25.5678)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B8D #608D1B
analogous
#1B278D #481B8D #811B8D
triadic
#481B8D #8D481B #1B8D48
tetradic
#481B8D #8D1B27 #608D1B #1B8D81
square
#481B8D #8D1B27 #608D1B #1B8D81
split-complementary
#481B8D #8D811B #278D1B
monochromatic
#140726 #2E115A #481B8D #6225C0 #8247DC

Accessibility & contrast

On white

11.56
#481B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#481B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B8D
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B8D#FFFFFF#000000##FFFFFF
##481B8D1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#333B54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #481b8d;
/* rgb */ color: rgb(72, 27, 141);
/* oklch */ color: oklch(36.5% 0.171 294.0);
Tailwind
colors: {
  custom: {
    50: '#835eaf',
    500: '#481b8d',
    950: '#000000',
  },
}
SCSS
$custom: #481b8d;
$custom-light: #835eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#481b8d",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 263.684,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36526,
    "c": 0.17119,
    "h": 294
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#481B8D
secondary
#8EBD46
accent
#EB3DA6
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #481B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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