#481A7E#481A7E

#481A7E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.156 H 298.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#481A7E
RGBrgb(72, 26, 126)
HSLhsl(268, 66%, 30%)
HSVhsv(268, 79%, 49%)
CMYKcmyk(42.9%, 79.4%, 0%, 50.6%)
CIE-LABlab(22.38, 42.19, -47.65)
CIE-LCHlch(22.38, 63.65, 311.52°)
OKLaboklab(35% 0.075 -0.1363)
OKLCHoklch(35% 0.156 298.8)
XYZxyz(6.8068, 3.6228, 20.0753)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A7E #507E1A
analogous
#1A1E7E #481A7E #7A1A7E
triadic
#481A7E #7E481A #1A7E48
tetradic
#481A7E #7E1A1E #507E1A #1A7E7A
square
#481A7E #7E1A1E #507E1A #1A7E7A
split-complementary
#481A7E #7E7A1A #1E7E1A
monochromatic
#0E0519 #2B104B #481A7E #6524B1 #833CD7

Accessibility & contrast

On white

12.18
#481A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#481A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A7E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A7E#FFFFFF#000000##FFFFFF
##481A7E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481a7e;
/* rgb */ color: rgb(72, 26, 126);
/* oklch */ color: oklch(35.0% 0.156 298.8);
Tailwind
colors: {
  custom: {
    50: '#815ca4',
    500: '#481a7e',
    950: '#000000',
  },
}
SCSS
$custom: #481a7e;
$custom-light: #815ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#481a7e",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 267.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35001,
    "c": 0.15555,
    "h": 298.8
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#481A7E
secondary
#7EB242
accent
#E93F9B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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