#481789#481789

#481789 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.171 H 295.7°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#481789
RGBrgb(72, 23, 137)
HSLhsl(266, 71%, 31%)
HSVhsv(266, 83%, 54%)
CMYKcmyk(47.4%, 83.2%, 0%, 46.3%)
CIE-LABlab(22.99, 46.35, -53.59)
CIE-LCHlch(22.99, 70.85, 310.85°)
OKLaboklab(35.74% 0.0739 -0.1537)
OKLCHoklch(35.74% 0.171 295.7)
XYZxyz(7.4930, 3.7965, 24.0001)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481789 #588917
analogous
#171F89 #481789 #811789
triadic
#481789 #894817 #178948
tetradic
#481789 #89171F #588917 #178981
square
#481789 #89171F #588917 #178981
split-complementary
#481789 #898117 #1F8917
monochromatic
#110520 #2C0E55 #481789 #6420BD #823CDE

Accessibility & contrast

On white

11.94
#481789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#481789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481789
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481789#FFFFFF#000000##FFFFFF
##4817891.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #481789;
/* rgb */ color: rgb(72, 23, 137);
/* oklch */ color: oklch(35.7% 0.171 295.7);
Tailwind
colors: {
  custom: {
    50: '#825bac',
    500: '#481789',
    950: '#000000',
  },
}
SCSS
$custom: #481789;
$custom-light: #825bac;
$custom-dark: #000000;
JSON
{
  "hex": "#481789",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 265.789,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3574,
    "c": 0.17053,
    "h": 295.7
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#481789
secondary
#87BD3F
accent
#EE3AA1
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #481789

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

Preview Lab → · Contrast checker → · Palette generator →

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