#481F6E#481F6E

#481F6E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.131 H 304.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#481F6E
RGBrgb(72, 31, 110)
HSLhsl(271, 56%, 28%)
HSVhsv(271, 72%, 43%)
CMYKcmyk(34.5%, 71.8%, 0%, 56.9%)
CIE-LABlab(21.88, 35.53, -38.22)
CIE-LCHlch(21.88, 52.18, 312.91°)
OKLaboklab(34.22% 0.0733 -0.1086)
OKLCHoklch(34.22% 0.131 304)
XYZxyz(5.9763, 3.4835, 15.1064)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F6E #456E1F
analogous
#201F6E #481F6E #6E1F6C
triadic
#481F6E #6E481F #1F6E48
tetradic
#481F6E #6E201F #456E1F #1F6C6E
square
#481F6E #6E201F #456E1F #1F6C6E
split-complementary
#481F6E #6C6E1F #1F6E20
monochromatic
#100718 #29123E #481F6E #672C9E #863FC9

Accessibility & contrast

On white

12.38
#481F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#481F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F6E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F6E#FFFFFF#000000##FFFFFF
##481F6E1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#413144
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #481f6e;
/* rgb */ color: rgb(72, 31, 110);
/* oklch */ color: oklch(34.2% 0.131 304.0);
Tailwind
colors: {
  custom: {
    50: '#7f5e98',
    500: '#481f6e',
    950: '#000000',
  },
}
SCSS
$custom: #481f6e;
$custom-light: #7f5e98;
$custom-dark: #000000;
JSON
{
  "hex": "#481f6e",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 271.139,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34224,
    "c": 0.13101,
    "h": 304
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#481F6E
secondary
#73A247
accent
#DF4891
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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