#481C94#481C94

#481C94 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.178 H 291.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#481C94
RGBrgb(72, 28, 148)
HSLhsl(262, 68%, 35%)
HSVhsv(262, 81%, 58%)
CMYKcmyk(51.4%, 81.1%, 0%, 42%)
CIE-LABlab(24.78, 47.20, -57.48)
CIE-LCHlch(24.78, 74.37, 309.39°)
OKLaboklab(37.31% 0.0665 -0.1651)
OKLCHoklch(37.31% 0.178 291.9)
XYZxyz(8.4315, 4.3460, 28.4058)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C94 #68941C
analogous
#1C2C94 #481C94 #841C94
triadic
#481C94 #94481C #1C9448
tetradic
#481C94 #941C2C #68941C #1C9484
square
#481C94 #941C2C #68941C #1C9484
split-complementary
#481C94 #94841C #2C941C
monochromatic
#16092D #2F1261 #481C94 #6126C7 #824DDD

Accessibility & contrast

On white

11.23
#481C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#481C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C94
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C94#FFFFFF#000000##FFFFFF
##481C941.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#2E3F58
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #481c94;
/* rgb */ color: rgb(72, 28, 148);
/* oklch */ color: oklch(37.3% 0.178 291.9);
Tailwind
colors: {
  custom: {
    50: '#845eb5',
    500: '#481c94',
    950: '#000000',
  },
}
SCSS
$custom: #481c94;
$custom-light: #845eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#481c94",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 262,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.17801,
    "h": 291.9
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#481C94
secondary
#95C04C
accent
#EB3DAB
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #481C94

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

Preview Lab → · Contrast checker → · Palette generator →

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