#481B8A#481B8A

#481B8A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.168 H 294.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#481B8A
RGBrgb(72, 27, 138)
HSLhsl(264, 67%, 32%)
HSVhsv(264, 80%, 54%)
CMYKcmyk(47.8%, 80.4%, 0%, 45.9%)
CIE-LABlab(23.66, 44.94, -53.12)
CIE-LCHlch(23.66, 69.58, 310.23°)
OKLaboklab(36.24% 0.0705 -0.1523)
OKLCHoklch(36.24% 0.168 294.8)
XYZxyz(7.6506, 3.9963, 24.4081)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B8A #5D8A1B
analogous
#1B268A #481B8A #7F1B8A
triadic
#481B8A #8A481B #1B8A48
tetradic
#481B8A #8A1B26 #5D8A1B #1B8A7F
square
#481B8A #8A1B26 #5D8A1B #1B8A7F
split-complementary
#481B8A #8A7F1B #268A1B
monochromatic
#130724 #2D1157 #481B8A #6325BD #8245DB

Accessibility & contrast

On white

11.67
#481B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#481B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B8A
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B8A#FFFFFF#000000##FFFFFF
##481B8A1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#353A52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #481b8a;
/* rgb */ color: rgb(72, 27, 138);
/* oklch */ color: oklch(36.2% 0.168 294.8);
Tailwind
colors: {
  custom: {
    50: '#825dad',
    500: '#481b8a',
    950: '#000000',
  },
}
SCSS
$custom: #481b8a;
$custom-light: #825dad;
$custom-dark: #000000;
JSON
{
  "hex": "#481b8a",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 264.324,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36237,
    "c": 0.16786,
    "h": 294.8
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#481B8A
secondary
#8CBC45
accent
#EA3EA4
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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