#481B71#481B71

#481B71 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.140 H 303.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#481B71
RGBrgb(72, 27, 113)
HSLhsl(271, 61%, 27%)
HSVhsv(271, 76%, 44%)
CMYKcmyk(36.3%, 76.1%, 0%, 55.7%)
CIE-LABlab(21.41, 38.33, -40.93)
CIE-LCHlch(21.41, 56.08, 313.12°)
OKLaboklab(33.96% 0.0772 -0.1165)
OKLCHoklch(33.96% 0.14 303.5)
XYZxyz(6.0444, 3.3538, 15.9485)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B71 #44711B
analogous
#1D1B71 #481B71 #711B6F
triadic
#481B71 #71481B #1B7148
tetradic
#481B71 #711D1B #44711B #1B6F71
square
#481B71 #711D1B #44711B #1B6F71
split-complementary
#481B71 #6F711B #1B711D
monochromatic
#100619 #290F40 #481B71 #6727A2 #8737CF

Accessibility & contrast

On white

12.57
#481B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#481B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B71
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B71#FFFFFF#000000##FFFFFF
##481B711.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#403044
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481b71;
/* rgb */ color: rgb(72, 27, 113);
/* oklch */ color: oklch(34.0% 0.140 303.5);
Tailwind
colors: {
  custom: {
    50: '#7f5c9a',
    500: '#481b71',
    950: '#000000',
  },
}
SCSS
$custom: #481b71;
$custom-light: #7f5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#481b71",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 271.395,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33962,
    "c": 0.1398,
    "h": 303.5
  },
  "luminance": 0.03354
}

Semantic roles & 50–950 ramp

primary
#481B71
secondary
#72A642
accent
#E54390
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481B71

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

Preview Lab → · Contrast checker → · Palette generator →

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