#481870#481870

#481870 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.142 H 304.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#481870
RGBrgb(72, 24, 112)
HSLhsl(273, 65%, 27%)
HSVhsv(273, 79%, 44%)
CMYKcmyk(35.7%, 78.6%, 0%, 56.1%)
CIE-LABlab(20.83, 39.48, -41.22)
CIE-LCHlch(20.83, 57.08, 313.76°)
OKLaboklab(33.53% 0.0805 -0.1174)
OKLCHoklch(33.53% 0.142 304.4)
XYZxyz(5.9231, 3.2009, 15.6319)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481870 #407018
analogous
#1C1870 #481870 #70186C
triadic
#481870 #704818 #187048
tetradic
#481870 #701C18 #407018 #186C70
square
#481870 #701C18 #407018 #186C70
split-complementary
#481870 #6C7018 #18701C
monochromatic
#100519 #280D3E #481870 #6823A2 #8930D3

Accessibility & contrast

On white

12.80
#481870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#481870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481870
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481870#FFFFFF#000000##FFFFFF
##4818701.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#402E43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481870;
/* rgb */ color: rgb(72, 24, 112);
/* oklch */ color: oklch(33.5% 0.142 304.4);
Tailwind
colors: {
  custom: {
    50: '#7f5a9a',
    500: '#481870',
    950: '#000000',
  },
}
SCSS
$custom: #481870;
$custom-light: #7f5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#481870",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 272.727,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33527,
    "c": 0.14234,
    "h": 304.4
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#481870
secondary
#6DA53E
accent
#E8408C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481870

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

Preview Lab → · Contrast checker → · Palette generator →

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