#481272#481272

#481272 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.151 H 304.5°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#481272
RGBrgb(72, 18, 114)
HSLhsl(274, 73%, 26%)
HSVhsv(274, 84%, 45%)
CMYKcmyk(36.8%, 84.2%, 0%, 55.3%)
CIE-LABlab(20.14, 42.46, -43.63)
CIE-LCHlch(20.14, 60.88, 314.22°)
OKLaboklab(33.1% 0.0854 -0.1244)
OKLCHoklch(33.1% 0.151 304.5)
XYZxyz(5.9254, 3.0253, 16.1881)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481272 #3C7212
analogous
#181272 #481272 #72126C
triadic
#481272 #724812 #127248
tetradic
#481272 #721812 #3C7212 #126C72
square
#481272 #721812 #3C7212 #126C72
split-complementary
#481272 #6C7212 #127218
monochromatic
#11041A #270A3D #481272 #691AA7 #8B23DC

Accessibility & contrast

On white

13.08
#481272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481272
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481272#FFFFFF#000000##FFFFFF
##4812721.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#402C43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481272;
/* rgb */ color: rgb(72, 18, 114);
/* oklch */ color: oklch(33.1% 0.151 304.5);
Tailwind
colors: {
  custom: {
    50: '#80589b',
    500: '#481272',
    950: '#000000',
  },
}
SCSS
$custom: #481272;
$custom-light: #80589b;
$custom-dark: #000000;
JSON
{
  "hex": "#481272",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 273.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33102,
    "c": 0.1509,
    "h": 304.5
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#481272
secondary
#69A937
accent
#EF3888
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481272

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

Preview Lab → · Contrast checker → · Palette generator →

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