#481E5E#481E5E

#481E5E is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.8% C 0.114 H 312.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#481E5E
RGBrgb(72, 30, 94)
HSLhsl(279, 52%, 24%)
HSVhsv(279, 68%, 37%)
CMYKcmyk(23.4%, 68.1%, 0%, 63.1%)
CIE-LABlab(20.50, 31.97, -29.99)
CIE-LCHlch(20.50, 43.83, 316.83°)
OKLaboklab(32.85% 0.076 -0.0844)
OKLCHoklch(32.85% 0.114 312)
XYZxyz(5.1568, 3.1145, 10.9170)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481E5E #345E1E
analogous
#281E5E #481E5E #5E1E54
triadic
#481E5E #5E481E #1E5E48
tetradic
#481E5E #5E281E #345E1E #1E545E
square
#481E5E #5E281E #345E1E #1E545E
split-complementary
#481E5E #545E1E #1E5E28
monochromatic
#120717 #240F30 #481E5E #6C2D8C #8F3CBB

Accessibility & contrast

On white

12.94
#481E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#481E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481E5E
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481E5E#FFFFFF#000000##FFFFFF
##481E5E1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022F60
Deuteranopia (green-blind)
#19325D
Tritanopia (blue-blind)
#452A3B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481e5e;
/* rgb */ color: rgb(72, 30, 94);
/* oklch */ color: oklch(32.8% 0.114 312.0);
Tailwind
colors: {
  custom: {
    50: '#7d5d8c',
    500: '#481e5e',
    950: '#000000',
  },
}
SCSS
$custom: #481e5e;
$custom-light: #7d5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#481e5e",
  "rgb": {
    "r": 72,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 279.375,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32846,
    "c": 0.11362,
    "h": 312
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#481E5E
secondary
#609345
accent
#DB4D7E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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