#481B76#481B76

#481B76 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.145 H 301.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#481B76
RGBrgb(72, 27, 118)
HSLhsl(270, 63%, 28%)
HSVhsv(270, 77%, 46%)
CMYKcmyk(39%, 77.1%, 0%, 53.7%)
CIE-LABlab(21.83, 39.63, -43.45)
CIE-LCHlch(21.83, 58.81, 312.37°)
OKLaboklab(34.39% 0.0761 -0.124)
OKLCHoklch(34.39% 0.145 301.5)
XYZxyz(6.3336, 3.4696, 17.4720)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B76 #49761B
analogous
#1B1B76 #481B76 #751B76
triadic
#481B76 #76481B #1B7648
tetradic
#481B76 #761B1B #49761B #1B7675
square
#481B76 #761B1B #49761B #1B7675
split-complementary
#481B76 #76751B #1B761B
monochromatic
#0F0619 #2A1044 #481B76 #6626A8 #853AD2

Accessibility & contrast

On white

12.40
#481B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#481B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B76
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B76#FFFFFF#000000##FFFFFF
##481B761.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#3E3247
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481b76;
/* rgb */ color: rgb(72, 27, 118);
/* oklch */ color: oklch(34.4% 0.145 301.5);
Tailwind
colors: {
  custom: {
    50: '#805c9e',
    500: '#481b76',
    950: '#000000',
  },
}
SCSS
$custom: #481b76;
$custom-light: #805c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#481b76",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 269.67,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34395,
    "c": 0.14545,
    "h": 301.5
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#481B76
secondary
#77AA42
accent
#E64295
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481B76

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

Preview Lab → · Contrast checker → · Palette generator →

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