#481784#481784

#481784 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.165 H 297.2°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#481784
RGBrgb(72, 23, 132)
HSLhsl(267, 70%, 30%)
HSVhsv(267, 83%, 52%)
CMYKcmyk(45.5%, 82.6%, 0%, 48.2%)
CIE-LABlab(22.50, 45.04, -51.25)
CIE-LCHlch(22.50, 68.23, 311.31°)
OKLaboklab(35.26% 0.0756 -0.1468)
OKLCHoklch(35.26% 0.165 297.2)
XYZxyz(7.1426, 3.6563, 22.1547)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481784 #538417
analogous
#171D84 #481784 #7E1784
triadic
#481784 #844817 #178448
tetradic
#481784 #84171D #538417 #17847E
square
#481784 #84171D #538417 #17847E
split-complementary
#481784 #847E17 #1D8417
monochromatic
#0F051C #2C0E50 #481784 #6420B8 #8239DC

Accessibility & contrast

On white

12.13
#481784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#481784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481784
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481784#FFFFFF#000000##FFFFFF
##4817841.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#38364E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481784;
/* rgb */ color: rgb(72, 23, 132);
/* oklch */ color: oklch(35.3% 0.165 297.2);
Tailwind
colors: {
  custom: {
    50: '#825ba9',
    500: '#481784',
    950: '#000000',
  },
}
SCSS
$custom: #481784;
$custom-light: #825ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#481784",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 266.972,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35256,
    "c": 0.16514,
    "h": 297.2
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#481784
secondary
#82B83F
accent
#ED3B9D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481784

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

Preview Lab → · Contrast checker → · Palette generator →

#481784 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva