#481D8C#481D8C

#481D8C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.168 H 294.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#481D8C
RGBrgb(72, 29, 140)
HSLhsl(263, 66%, 33%)
HSVhsv(263, 79%, 55%)
CMYKcmyk(48.6%, 79.3%, 0%, 45.1%)
CIE-LABlab(24.16, 44.59, -53.54)
CIE-LCHlch(24.16, 69.67, 309.79°)
OKLaboklab(36.64% 0.0683 -0.1536)
OKLCHoklch(36.64% 0.168 294)
XYZxyz(7.8442, 4.1497, 25.1935)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481D8C #618C1D
analogous
#1D2A8C #481D8C #7F1D8C
triadic
#481D8C #8C481D #1D8C48
tetradic
#481D8C #8C1D2A #618C1D #1D8C7F
square
#481D8C #8C1D2A #618C1D #1D8C7F
split-complementary
#481D8C #8C7F1D #2A8C1D
monochromatic
#140827 #2E1259 #481D8C #6228BF #824AD9

Accessibility & contrast

On white

11.48
#481D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#481D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481D8C
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481D8C#FFFFFF#000000##FFFFFF
##481D8C1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#333C54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #481d8c;
/* rgb */ color: rgb(72, 29, 140);
/* oklch */ color: oklch(36.6% 0.168 294.0);
Tailwind
colors: {
  custom: {
    50: '#835eaf',
    500: '#481d8c',
    950: '#000000',
  },
}
SCSS
$custom: #481d8c;
$custom-light: #835eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#481d8c",
  "rgb": {
    "r": 72,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 263.243,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.16809,
    "h": 294
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#481D8C
secondary
#8FBC49
accent
#E93FA7
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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