#481F77#481F77

#481F77 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.142 H 300.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#481F77
RGBrgb(72, 31, 119)
HSLhsl(268, 59%, 29%)
HSVhsv(268, 74%, 47%)
CMYKcmyk(39.5%, 73.9%, 0%, 53.3%)
CIE-LABlab(22.62, 37.93, -42.82)
CIE-LCHlch(22.62, 57.20, 311.53°)
OKLaboklab(34.98% 0.0717 -0.1221)
OKLCHoklch(34.98% 0.142 300.4)
XYZxyz(6.4914, 3.6895, 17.8193)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F77 #4E771F
analogous
#1F2277 #481F77 #741F77
triadic
#481F77 #77481F #1F7748
tetradic
#481F77 #771F22 #4E771F #1F7774
square
#481F77 #771F22 #4E771F #1F7774
split-complementary
#481F77 #77741F #22771F
monochromatic
#0F0618 #2B1246 #481F77 #652CA8 #8343CE

Accessibility & contrast

On white

12.08
#481F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#481F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F77
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F77#FFFFFF#000000##FFFFFF
##481F771.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#3D3449
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481f77;
/* rgb */ color: rgb(72, 31, 119);
/* oklch */ color: oklch(35.0% 0.142 300.4);
Tailwind
colors: {
  custom: {
    50: '#805e9f',
    500: '#481f77',
    950: '#000000',
  },
}
SCSS
$custom: #481f77;
$custom-light: #805e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#481f77",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 267.955,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34976,
    "c": 0.14162,
    "h": 300.4
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#481F77
secondary
#7CAB47
accent
#E24699
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #481F77

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

Preview Lab → · Contrast checker → · Palette generator →

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