#481F78#481F78

#481F78 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.143 H 300.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#481F78
RGBrgb(72, 31, 120)
HSLhsl(268, 59%, 30%)
HSVhsv(268, 74%, 47%)
CMYKcmyk(40%, 74.2%, 0%, 52.9%)
CIE-LABlab(22.70, 38.19, -43.32)
CIE-LCHlch(22.70, 57.75, 311.40°)
OKLaboklab(35.06% 0.0715 -0.1236)
OKLCHoklch(35.06% 0.143 300.1)
XYZxyz(6.5518, 3.7137, 18.1373)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F78 #4F781F
analogous
#1F2378 #481F78 #741F78
triadic
#481F78 #78481F #1F7848
tetradic
#481F78 #781F23 #4F781F #1F7874
square
#481F78 #781F23 #4F781F #1F7874
split-complementary
#481F78 #78741F #23781F
monochromatic
#0F0618 #2B1247 #481F78 #652CA9 #8343CE

Accessibility & contrast

On white

12.05
#481F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#481F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F78
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F78#FFFFFF#000000##FFFFFF
##481F781.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#3D3549
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481f78;
/* rgb */ color: rgb(72, 31, 120);
/* oklch */ color: oklch(35.1% 0.143 300.1);
Tailwind
colors: {
  custom: {
    50: '#805ea0',
    500: '#481f78',
    950: '#000000',
  },
}
SCSS
$custom: #481f78;
$custom-light: #805ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#481f78",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 267.64,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35062,
    "c": 0.1428,
    "h": 300.1
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#481F78
secondary
#7DAB47
accent
#E2469A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #481F78

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

Preview Lab → · Contrast checker → · Palette generator →

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