#481B5C#481B5C

#481B5C is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.3% C 0.116 H 313.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#481B5C
RGBrgb(72, 27, 92)
HSLhsl(282, 55%, 23%)
HSVhsv(282, 71%, 36%)
CMYKcmyk(21.7%, 70.7%, 0%, 63.9%)
CIE-LABlab(19.78, 33.08, -29.81)
CIE-LCHlch(19.78, 44.53, 317.97°)
OKLaboklab(32.28% 0.0801 -0.0839)
OKLCHoklch(32.28% 0.116 313.7)
XYZxyz(4.9959, 2.9344, 10.4264)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B5C #2F5C1B
analogous
#271B5C #481B5C #5C1B4F
triadic
#481B5C #5C481B #1B5C48
tetradic
#481B5C #5C271B #2F5C1B #1B4F5C
square
#481B5C #5C271B #2F5C1B #1B4F5C
split-complementary
#481B5C #4F5C1B #1B5C27
monochromatic
#130718 #230D2D #481B5C #6D298B #9237BB

Accessibility & contrast

On white

13.23
#481B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#481B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B5C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B5C#FFFFFF#000000##FFFFFF
##481B5C1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#17315A
Tritanopia (blue-blind)
#462839
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #481b5c;
/* rgb */ color: rgb(72, 27, 92);
/* oklch */ color: oklch(32.3% 0.116 313.7);
Tailwind
colors: {
  custom: {
    50: '#7d5b8a',
    500: '#481b5c',
    950: '#000000',
  },
}
SCSS
$custom: #481b5c;
$custom-light: #7d5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#481b5c",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 281.538,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32284,
    "c": 0.116,
    "h": 313.7
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#481B5C
secondary
#5A9241
accent
#DE4A77
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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