#481B5F#481B5F

#481B5F is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.5% C 0.119 H 312.0°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#481B5F
RGBrgb(72, 27, 95)
HSLhsl(280, 56%, 24%)
HSVhsv(280, 72%, 37%)
CMYKcmyk(24.2%, 71.6%, 0%, 62.7%)
CIE-LABlab(20.00, 33.80, -31.45)
CIE-LCHlch(20.00, 46.17, 317.06°)
OKLaboklab(32.51% 0.0799 -0.0887)
OKLCHoklch(32.51% 0.119 312)
XYZxyz(5.1296, 2.9879, 11.1308)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B5F #325F1B
analogous
#261B5F #481B5F #5F1B54
triadic
#481B5F #5F481B #1B5F48
tetradic
#481B5F #5F261B #325F1B #1B545F
square
#481B5F #5F261B #325F1B #1B545F
split-complementary
#481B5F #545F1B #1B5F26
monochromatic
#120718 #240D2F #481B5F #6C298F #9036BE

Accessibility & contrast

On white

13.14
#481B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#481B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B5F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B5F#FFFFFF#000000##FFFFFF
##481B5F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#14315D
Tritanopia (blue-blind)
#45293A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481b5f;
/* rgb */ color: rgb(72, 27, 95);
/* oklch */ color: oklch(32.5% 0.119 312.0);
Tailwind
colors: {
  custom: {
    50: '#7e5b8d',
    500: '#481b5f',
    950: '#000000',
  },
}
SCSS
$custom: #481b5f;
$custom-light: #7e5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#481b5f",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 279.706,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32508,
    "c": 0.11939,
    "h": 312
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#481B5F
secondary
#5D9541
accent
#DF497C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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