#481F5E#481F5E

#481F5E is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.0% C 0.112 H 311.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#481F5E
RGBrgb(72, 31, 94)
HSLhsl(279, 50%, 25%)
HSVhsv(279, 67%, 37%)
CMYKcmyk(23.4%, 67%, 0%, 63.1%)
CIE-LABlab(20.70, 31.42, -29.67)
CIE-LCHlch(20.70, 43.22, 316.65°)
OKLaboklab(32.99% 0.0747 -0.0835)
OKLCHoklch(32.99% 0.112 311.8)
XYZxyz(5.1825, 3.1660, 10.9256)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F5E #355E1F
analogous
#291F5E #481F5E #5E1F55
triadic
#481F5E #5E481F #1F5E48
tetradic
#481F5E #5E291F #355E1F #1F555E
square
#481F5E #5E291F #355E1F #1F555E
split-complementary
#481F5E #555E1F #1F5E29
monochromatic
#120817 #251030 #481F5E #6B2E8C #8F3DBA

Accessibility & contrast

On white

12.86
#481F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#481F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F5E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F5E#FFFFFF#000000##FFFFFF
##481F5E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043060
Deuteranopia (green-blind)
#1A335D
Tritanopia (blue-blind)
#452B3B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481f5e;
/* rgb */ color: rgb(72, 31, 94);
/* oklch */ color: oklch(33.0% 0.112 311.8);
Tailwind
colors: {
  custom: {
    50: '#7d5d8c',
    500: '#481f5e',
    950: '#000000',
  },
}
SCSS
$custom: #481f5e;
$custom-light: #7d5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#481f5e",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 279.048,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32991,
    "c": 0.11202,
    "h": 311.8
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#481F5E
secondary
#619346
accent
#DA4E7F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #481F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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