#481F8D#481F8D

#481F8D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.167 H 293.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#481F8D
RGBrgb(72, 31, 141)
HSLhsl(262, 64%, 34%)
HSVhsv(262, 78%, 55%)
CMYKcmyk(48.9%, 78%, 0%, 44.7%)
CIE-LABlab(24.58, 43.93, -53.48)
CIE-LCHlch(24.58, 69.21, 309.40°)
OKLaboklab(36.96% 0.0663 -0.1534)
OKLCHoklch(36.96% 0.167 293.4)
XYZxyz(7.9689, 4.2805, 25.6005)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F8D #648D1F
analogous
#1F2D8D #481F8D #7F1F8D
triadic
#481F8D #8D481F #1F8D48
tetradic
#481F8D #8D1F2D #648D1F #1F8D7F
square
#481F8D #8D1F2D #648D1F #1F8D7F
split-complementary
#481F8D #8D7F1F #2D8D1F
monochromatic
#150929 #2E145B #481F8D #622ABF #824ED8

Accessibility & contrast

On white

11.31
#481F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481F8D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F8D#FFFFFF#000000##FFFFFF
##481F8D1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#333D55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #481f8d;
/* rgb */ color: rgb(72, 31, 141);
/* oklch */ color: oklch(37.0% 0.167 293.4);
Tailwind
colors: {
  custom: {
    50: '#8360af',
    500: '#481f8d',
    950: '#000000',
  },
}
SCSS
$custom: #481f8d;
$custom-light: #8360af;
$custom-dark: #000000;
JSON
{
  "hex": "#481f8d",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 262.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36965,
    "c": 0.16715,
    "h": 293.4
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#481F8D
secondary
#92BB4D
accent
#E741A9
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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