#481A6F#481A6F

#481A6F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.139 H 304.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#481A6F
RGBrgb(72, 26, 111)
HSLhsl(272, 62%, 27%)
HSVhsv(272, 77%, 44%)
CMYKcmyk(35.1%, 76.6%, 0%, 56.5%)
CIE-LABlab(21.07, 38.30, -40.18)
CIE-LCHlch(21.07, 55.51, 313.62°)
OKLaboklab(33.67% 0.0787 -0.1143)
OKLCHoklch(33.67% 0.139 304.5)
XYZxyz(5.9105, 3.2642, 15.3545)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A6F #416F1A
analogous
#1E1A6F #481A6F #6F1A6C
triadic
#481A6F #6F481A #1A6F48
tetradic
#481A6F #6F1E1A #416F1A #1A6C6F
square
#481A6F #6F1E1A #416F1A #1A6C6F
split-complementary
#481A6F #6C6F1A #1A6F1E
monochromatic
#100619 #280E3D #481A6F #6826A1 #8834CF

Accessibility & contrast

On white

12.71
#481A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481A6F
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A6F#FFFFFF#000000##FFFFFF
##481A6F1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#412F43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481a6f;
/* rgb */ color: rgb(72, 26, 111);
/* oklch */ color: oklch(33.7% 0.139 304.5);
Tailwind
colors: {
  custom: {
    50: '#7f5b99',
    500: '#481a6f',
    950: '#000000',
  },
}
SCSS
$custom: #481a6f;
$custom-light: #7f5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#481a6f",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 272.471,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33672,
    "c": 0.1388,
    "h": 304.5
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#481A6F
secondary
#6EA441
accent
#E5438D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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