#481A6E#481A6E

#481A6E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.138 H 305.0°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#481A6E
RGBrgb(72, 26, 110)
HSLhsl(273, 62%, 27%)
HSVhsv(273, 76%, 43%)
CMYKcmyk(34.5%, 76.4%, 0%, 56.9%)
CIE-LABlab(20.99, 38.04, -39.67)
CIE-LCHlch(20.99, 54.96, 313.80°)
OKLaboklab(33.59% 0.0789 -0.1128)
OKLCHoklch(33.59% 0.138 305)
XYZxyz(5.8557, 3.2423, 15.0662)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A6E #406E1A
analogous
#1E1A6E #481A6E #6E1A6A
triadic
#481A6E #6E481A #1A6E48
tetradic
#481A6E #6E1E1A #406E1A #1A6A6E
square
#481A6E #6E1E1A #406E1A #1A6A6E
split-complementary
#481A6E #6A6E1A #1A6E1E
monochromatic
#100619 #280E3D #481A6E #6826A0 #8934CF

Accessibility & contrast

On white

12.74
#481A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#481A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A6E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A6E#FFFFFF#000000##FFFFFF
##481A6E1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#412E42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481a6e;
/* rgb */ color: rgb(72, 26, 110);
/* oklch */ color: oklch(33.6% 0.138 305.0);
Tailwind
colors: {
  custom: {
    50: '#7f5b98',
    500: '#481a6e',
    950: '#000000',
  },
}
SCSS
$custom: #481a6e;
$custom-light: #7f5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#481a6e",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 272.857,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33587,
    "c": 0.13768,
    "h": 305
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#481A6E
secondary
#6DA341
accent
#E5438C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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