#481D8E#481D8E

#481D8E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.170 H 293.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#481D8E
RGBrgb(72, 29, 142)
HSLhsl(263, 66%, 34%)
HSVhsv(263, 80%, 56%)
CMYKcmyk(49.3%, 79.6%, 0%, 44.3%)
CIE-LABlab(24.35, 45.13, -54.47)
CIE-LCHlch(24.35, 70.74, 309.64°)
OKLaboklab(36.84% 0.0677 -0.1563)
OKLCHoklch(36.84% 0.17 293.4)
XYZxyz(7.9930, 4.2092, 25.9773)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481D8E #638E1D
analogous
#1D2A8E #481D8E #801D8E
triadic
#481D8E #8E481D #1D8E48
tetradic
#481D8E #8E1D2A #638E1D #1D8E80
square
#481D8E #8E1D2A #638E1D #1D8E80
split-complementary
#481D8E #8E801D #2A8E1D
monochromatic
#140828 #2E135B #481D8E #6227C1 #824BDA

Accessibility & contrast

On white

11.40
#481D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#481D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481D8E
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481D8E#FFFFFF#000000##FFFFFF
##481D8E1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#323D55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #481d8e;
/* rgb */ color: rgb(72, 29, 142);
/* oklch */ color: oklch(36.8% 0.170 293.4);
Tailwind
colors: {
  custom: {
    50: '#835fb0',
    500: '#481d8e',
    950: '#000000',
  },
}
SCSS
$custom: #481d8e;
$custom-light: #835fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#481d8e",
  "rgb": {
    "r": 72,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 262.832,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36836,
    "c": 0.17034,
    "h": 293.4
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#481D8E
secondary
#91BD4A
accent
#E93FA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #481D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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