#481F8E#481F8E

#481F8E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.168 H 293.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#481F8E
RGBrgb(72, 31, 142)
HSLhsl(262, 64%, 34%)
HSVhsv(262, 78%, 56%)
CMYKcmyk(49.3%, 78.2%, 0%, 44.3%)
CIE-LABlab(24.67, 44.21, -53.95)
CIE-LCHlch(24.67, 69.75, 309.33°)
OKLaboklab(37.06% 0.066 -0.1548)
OKLCHoklch(37.06% 0.168 293.1)
XYZxyz(8.0436, 4.3104, 25.9941)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F8E #658E1F
analogous
#1F2E8E #481F8E #801F8E
triadic
#481F8E #8E481F #1F8E48
tetradic
#481F8E #8E1F2E #658E1F #1F8E80
square
#481F8E #8E1F2E #658E1F #1F8E80
split-complementary
#481F8E #8E801F #2E8E1F
monochromatic
#15092A #2F145C #481F8E #612AC0 #824FD9

Accessibility & contrast

On white

11.28
#481F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#481F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F8E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F8E#FFFFFF#000000##FFFFFF
##481F8E1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#323E56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #481f8e;
/* rgb */ color: rgb(72, 31, 142);
/* oklch */ color: oklch(37.1% 0.168 293.1);
Tailwind
colors: {
  custom: {
    50: '#8360b0',
    500: '#481f8e',
    950: '#000000',
  },
}
SCSS
$custom: #481f8e;
$custom-light: #8360b0;
$custom-dark: #000000;
JSON
{
  "hex": "#481f8e",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 262.162,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3706,
    "c": 0.1683,
    "h": 293.1
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#481F8E
secondary
#93BB4D
accent
#E741AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #481F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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