#481A7C#481A7C

#481A7C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.153 H 299.5°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#481A7C
RGBrgb(72, 26, 124)
HSLhsl(268, 65%, 29%)
HSVhsv(268, 79%, 49%)
CMYKcmyk(41.9%, 79%, 0%, 51.4%)
CIE-LABlab(22.20, 41.67, -46.68)
CIE-LCHlch(22.20, 62.57, 311.75°)
OKLaboklab(34.82% 0.0755 -0.1334)
OKLCHoklch(34.82% 0.153 299.5)
XYZxyz(6.6791, 3.5717, 19.4024)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A7C #4E7C1A
analogous
#1A1D7C #481A7C #791A7C
triadic
#481A7C #7C481A #1A7C48
tetradic
#481A7C #7C1A1D #4E7C1A #1A7C79
square
#481A7C #7C1A1D #4E7C1A #1A7C79
split-complementary
#481A7C #7C791A #1D7C1A
monochromatic
#0F0519 #2B0F49 #481A7C #6525AF #833BD6

Accessibility & contrast

On white

12.25
#481A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#481A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A7C
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A7C#FFFFFF#000000##FFFFFF
##481A7C1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#3C344A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #481a7c;
/* rgb */ color: rgb(72, 26, 124);
/* oklch */ color: oklch(34.8% 0.153 299.5);
Tailwind
colors: {
  custom: {
    50: '#815ca3',
    500: '#481a7c',
    950: '#000000',
  },
}
SCSS
$custom: #481a7c;
$custom-light: #815ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#481a7c",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 268.163,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34818,
    "c": 0.15332,
    "h": 299.5
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#481A7C
secondary
#7CB042
accent
#E84099
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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