#481F88#481F88

#481F88 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.161 H 294.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#481F88
RGBrgb(72, 31, 136)
HSLhsl(263, 63%, 33%)
HSVhsv(263, 77%, 53%)
CMYKcmyk(47.1%, 77.2%, 0%, 46.7%)
CIE-LABlab(24.11, 42.56, -51.12)
CIE-LCHlch(24.11, 66.52, 309.78°)
OKLaboklab(36.5% 0.0677 -0.1465)
OKLCHoklch(36.5% 0.161 294.8)
XYZxyz(7.6052, 4.1351, 23.6852)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F88 #5F881F
analogous
#1F2A88 #481F88 #7D1F88
triadic
#481F88 #88481F #1F8848
tetradic
#481F88 #881F2A #5F881F #1F887D
square
#481F88 #881F2A #5F881F #1F887D
split-complementary
#481F88 #887D1F #2A881F
monochromatic
#130824 #2E1456 #481F88 #622ABA #824BD6

Accessibility & contrast

On white

11.49
#481F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#481F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F88
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F88#FFFFFF#000000##FFFFFF
##481F881.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#363B52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #481f88;
/* rgb */ color: rgb(72, 31, 136);
/* oklch */ color: oklch(36.5% 0.161 294.8);
Tailwind
colors: {
  custom: {
    50: '#825fac',
    500: '#481f88',
    950: '#000000',
  },
}
SCSS
$custom: #481f88;
$custom-light: #825fac;
$custom-dark: #000000;
JSON
{
  "hex": "#481f88",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 263.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36496,
    "c": 0.16141,
    "h": 294.8
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#481F88
secondary
#8EB94A
accent
#E642A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481F88

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

Preview Lab → · Contrast checker → · Palette generator →

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