#481C5F#481C5F

#481C5F is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.6% C 0.118 H 311.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#481C5F
RGBrgb(72, 28, 95)
HSLhsl(279, 54%, 24%)
HSVhsv(279, 71%, 37%)
CMYKcmyk(24.2%, 70.5%, 0%, 62.7%)
CIE-LABlab(20.18, 33.28, -31.15)
CIE-LCHlch(20.18, 45.59, 316.89°)
OKLaboklab(32.64% 0.0786 -0.0878)
OKLCHoklch(32.64% 0.118 311.8)
XYZxyz(5.1529, 3.0346, 11.1385)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C5F #335F1C
analogous
#271C5F #481C5F #5F1C55
triadic
#481C5F #5F481C #1C5F48
tetradic
#481C5F #5F271C #335F1C #1C555F
square
#481C5F #5F271C #335F1C #1C555F
split-complementary
#481C5F #555F1C #1C5F27
monochromatic
#120718 #240E30 #481C5F #6C2A8E #9038BE

Accessibility & contrast

On white

13.07
#481C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#481C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C5F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C5F#FFFFFF#000000##FFFFFF
##481C5F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#15325D
Tritanopia (blue-blind)
#45293B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481c5f;
/* rgb */ color: rgb(72, 28, 95);
/* oklch */ color: oklch(32.6% 0.118 311.8);
Tailwind
colors: {
  custom: {
    50: '#7e5c8d',
    500: '#481c5f',
    950: '#000000',
  },
}
SCSS
$custom: #481c5f;
$custom-light: #7e5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#481c5f",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 279.403,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32642,
    "c": 0.11789,
    "h": 311.8
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#481C5F
secondary
#5F9442
accent
#DE4A7D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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