#481273#481273

#481273 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.152 H 304.0°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#481273
RGBrgb(72, 18, 115)
HSLhsl(273, 73%, 26%)
HSVhsv(273, 84%, 45%)
CMYKcmyk(37.4%, 84.3%, 0%, 54.9%)
CIE-LABlab(20.24, 42.71, -44.13)
CIE-LCHlch(20.24, 61.41, 314.06°)
OKLaboklab(33.19% 0.0851 -0.1259)
OKLCHoklch(33.19% 0.152 304)
XYZxyz(5.9826, 3.0481, 16.4895)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481273 #3D7312
analogous
#171273 #481273 #73126D
triadic
#481273 #734812 #127348
tetradic
#481273 #731712 #3D7312 #126D73
square
#481273 #731712 #3D7312 #126D73
split-complementary
#481273 #6D7312 #127317
monochromatic
#11041A #270A3E #481273 #691AA8 #8A23DD

Accessibility & contrast

On white

13.05
#481273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#481273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481273
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481273#FFFFFF#000000##FFFFFF
##4812731.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#3F2D43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481273;
/* rgb */ color: rgb(72, 18, 115);
/* oklch */ color: oklch(33.2% 0.152 304.0);
Tailwind
colors: {
  custom: {
    50: '#80589c',
    500: '#481273',
    950: '#000000',
  },
}
SCSS
$custom: #481273;
$custom-light: #80589c;
$custom-dark: #000000;
JSON
{
  "hex": "#481273",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 273.402,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33193,
    "c": 0.15193,
    "h": 304
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#481273
secondary
#6AAA37
accent
#F03889
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481273

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

Preview Lab → · Contrast checker → · Palette generator →

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