#481F93#481F93

#481F93 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.174 H 291.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#481F93
RGBrgb(72, 31, 147)
HSLhsl(261, 65%, 35%)
HSVhsv(261, 79%, 58%)
CMYKcmyk(51%, 78.9%, 0%, 42.4%)
CIE-LABlab(25.15, 45.59, -56.26)
CIE-LCHlch(25.15, 72.41, 309.02°)
OKLaboklab(37.54% 0.0646 -0.1616)
OKLCHoklch(37.54% 0.174 291.8)
XYZxyz(8.4274, 4.4640, 28.0157)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F93 #6A931F
analogous
#1F3093 #481F93 #821F93
triadic
#481F93 #93481F #1F9348
tetradic
#481F93 #931F30 #6A931F #1F9382
square
#481F93 #931F30 #6A931F #1F9382
split-complementary
#481F93 #93821F #30931F
monochromatic
#160A2E #2F1460 #481F93 #612AC6 #8252DA

Accessibility & contrast

On white

11.09
#481F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#481F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F93
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F93#FFFFFF#000000##FFFFFF
##481F931.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#2F4058
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #481f93;
/* rgb */ color: rgb(72, 31, 147);
/* oklch */ color: oklch(37.5% 0.174 291.8);
Tailwind
colors: {
  custom: {
    50: '#8360b4',
    500: '#481f93',
    950: '#000000',
  },
}
SCSS
$custom: #481f93;
$custom-light: #8360b4;
$custom-dark: #000000;
JSON
{
  "hex": "#481f93",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 261.207,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37539,
    "c": 0.174,
    "h": 291.8
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#481F93
secondary
#97BE50
accent
#E840AD
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #481F93

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

Preview Lab → · Contrast checker → · Palette generator →

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