#481A6C#481A6C

#481A6C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.135 H 305.8°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#481A6C
RGBrgb(72, 26, 108)
HSLhsl(274, 61%, 26%)
HSVhsv(274, 76%, 42%)
CMYKcmyk(33.3%, 75.9%, 0%, 57.6%)
CIE-LABlab(20.82, 37.53, -38.64)
CIE-LCHlch(20.82, 53.87, 314.17°)
OKLaboklab(33.42% 0.0793 -0.1098)
OKLCHoklch(33.42% 0.135 305.8)
XYZxyz(5.7481, 3.1993, 14.4992)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A6C #3E6C1A
analogous
#1F1A6C #481A6C #6C1A67
triadic
#481A6C #6C481A #1A6C48
tetradic
#481A6C #6C1F1A #3E6C1A #1A676C
square
#481A6C #6C1F1A #3E6C1A #1A676C
split-complementary
#481A6C #676C1A #1A6C1F
monochromatic
#100619 #270E3B #481A6C #69269D #8A33CE

Accessibility & contrast

On white

12.81
#481A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#481A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A6C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A6C#FFFFFF#000000##FFFFFF
##481A6C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#422D41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481a6c;
/* rgb */ color: rgb(72, 26, 108);
/* oklch */ color: oklch(33.4% 0.135 305.8);
Tailwind
colors: {
  custom: {
    50: '#7f5b97',
    500: '#481a6c',
    950: '#000000',
  },
}
SCSS
$custom: #481a6c;
$custom-light: #7f5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#481a6c",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 273.659,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33418,
    "c": 0.13543,
    "h": 305.8
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#481A6C
secondary
#6BA141
accent
#E4438A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #481A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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