#481B72#481B72

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

Color values

HEX#481B72
RGBrgb(72, 27, 114)
HSLhsl(271, 62%, 28%)
HSVhsv(271, 76%, 45%)
CMYKcmyk(36.8%, 76.3%, 0%, 55.3%)
CIE-LABlab(21.49, 38.59, -41.44)
CIE-LCHlch(21.49, 56.62, 312.96°)
OKLaboklab(34.05% 0.077 -0.118)
OKLCHoklch(34.05% 0.141 303.1)
XYZxyz(6.1010, 3.3765, 16.2466)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B72 #45721B
analogous
#1C1B72 #481B72 #721B71
triadic
#481B72 #72481B #1B7248
tetradic
#481B72 #721C1B #45721B #1B7172
square
#481B72 #721C1B #45721B #1B7172
split-complementary
#481B72 #71721B #1B721C
monochromatic
#100619 #290F41 #481B72 #6727A3 #8638D0

Accessibility & contrast

On white

12.54
#481B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#481B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B72
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B72#FFFFFF#000000##FFFFFF
##481B721.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#3F3045
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481b72;
/* rgb */ color: rgb(72, 27, 114);
/* oklch */ color: oklch(34.0% 0.141 303.1);
Tailwind
colors: {
  custom: {
    50: '#7f5c9b',
    500: '#481b72',
    950: '#000000',
  },
}
SCSS
$custom: #481b72;
$custom-light: #7f5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#481b72",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 271.034,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34048,
    "c": 0.14093,
    "h": 303.1
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#481B72
secondary
#73A742
accent
#E54391
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481B72

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

Preview Lab → · Contrast checker → · Palette generator →

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