#481889#481889

#481889 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.170 H 295.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#481889
RGBrgb(72, 24, 137)
HSLhsl(265, 70%, 32%)
HSVhsv(265, 82%, 54%)
CMYKcmyk(47.4%, 82.5%, 0%, 46.3%)
CIE-LABlab(23.12, 45.94, -53.37)
CIE-LCHlch(23.12, 70.42, 310.73°)
OKLaboklab(35.84% 0.0731 -0.153)
OKLCHoklch(35.84% 0.17 295.5)
XYZxyz(7.5133, 3.8369, 24.0068)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481889 #598918
analogous
#182189 #481889 #811889
triadic
#481889 #894818 #188948
tetradic
#481889 #891821 #598918 #188981
square
#481889 #891821 #598918 #188981
split-complementary
#481889 #898118 #218918
monochromatic
#110621 #2D0F55 #481889 #6321BD #823EDD

Accessibility & contrast

On white

11.88
#481889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#481889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481889
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481889#FFFFFF#000000##FFFFFF
##4818891.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#353951
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #481889;
/* rgb */ color: rgb(72, 24, 137);
/* oklch */ color: oklch(35.8% 0.170 295.5);
Tailwind
colors: {
  custom: {
    50: '#825cac',
    500: '#481889',
    950: '#000000',
  },
}
SCSS
$custom: #481889;
$custom-light: #825cac;
$custom-dark: #000000;
JSON
{
  "hex": "#481889",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 265.487,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35836,
    "c": 0.16962,
    "h": 295.5
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#481889
secondary
#88BD40
accent
#ED3BA1
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481889

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

Preview Lab → · Contrast checker → · Palette generator →

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