#481876#481876

#481876 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.149 H 302.0°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#481876
RGBrgb(72, 24, 118)
HSLhsl(271, 66%, 28%)
HSVhsv(271, 80%, 46%)
CMYKcmyk(39%, 79.7%, 0%, 53.7%)
CIE-LABlab(21.35, 41.00, -44.23)
CIE-LCHlch(21.35, 60.32, 312.83°)
OKLaboklab(34.06% 0.079 -0.1262)
OKLCHoklch(34.06% 0.149 302)
XYZxyz(6.2683, 3.3390, 17.4503)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481876 #467618
analogous
#191876 #481876 #761875
triadic
#481876 #764818 #187648
tetradic
#481876 #761918 #467618 #187576
square
#481876 #761918 #467618 #187576
split-complementary
#481876 #757618 #187619
monochromatic
#100519 #290E43 #481876 #6722A9 #8633D5

Accessibility & contrast

On white

12.59
#481876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#481876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481876
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481876#FFFFFF#000000##FFFFFF
##4818761.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#3E3146
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481876;
/* rgb */ color: rgb(72, 24, 118);
/* oklch */ color: oklch(34.1% 0.149 302.0);
Tailwind
colors: {
  custom: {
    50: '#805b9e',
    500: '#481876',
    950: '#000000',
  },
}
SCSS
$custom: #481876;
$custom-light: #805b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#481876",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 270.638,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34057,
    "c": 0.14892,
    "h": 302
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#481876
secondary
#74AB3F
accent
#E93F92
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481876

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

Preview Lab → · Contrast checker → · Palette generator →

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