#481268#481268

#481268 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.141 H 308.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#481268
RGBrgb(72, 18, 104)
HSLhsl(278, 70%, 24%)
HSVhsv(278, 83%, 41%)
CMYKcmyk(30.8%, 82.7%, 0%, 59.2%)
CIE-LABlab(19.27, 40.05, -38.56)
CIE-LCHlch(19.27, 55.60, 316.09°)
OKLaboklab(32.21% 0.0882 -0.1095)
OKLCHoklch(32.21% 0.141 308.8)
XYZxyz(5.3870, 2.8099, 13.3526)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481268 #326812
analogous
#1D1268 #481268 #68125D
triadic
#481268 #684812 #126848
tetradic
#481268 #681D12 #326812 #125D68
square
#481268 #681D12 #326812 #125D68
split-complementary
#481268 #5D6812 #12681D
monochromatic
#12051A #240934 #481268 #6C1B9C #9024D0

Accessibility & contrast

On white

13.44
#481268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#481268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481268
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481268#FFFFFF#000000##FFFFFF
##4812681.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#43283D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #481268;
/* rgb */ color: rgb(72, 18, 104);
/* oklch */ color: oklch(32.2% 0.141 308.8);
Tailwind
colors: {
  custom: {
    50: '#7f5794',
    500: '#481268',
    950: '#000000',
  },
}
SCSS
$custom: #481268;
$custom-light: #7f5794;
$custom-dark: #000000;
JSON
{
  "hex": "#481268",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 277.674,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32215,
    "c": 0.14061,
    "h": 308.8
  },
  "luminance": 0.0281
}

Semantic roles & 50–950 ramp

primary
#481268
secondary
#5DA036
accent
#ED3B7D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #481268

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

Preview Lab → · Contrast checker → · Palette generator →

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