#481274#481274

#481274 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.153 H 303.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#481274
RGBrgb(72, 18, 116)
HSLhsl(273, 73%, 26%)
HSVhsv(273, 84%, 45%)
CMYKcmyk(37.9%, 84.5%, 0%, 54.5%)
CIE-LABlab(20.33, 42.95, -44.62)
CIE-LCHlch(20.33, 61.94, 313.90°)
OKLaboklab(33.28% 0.0847 -0.1273)
OKLCHoklch(33.28% 0.153 303.6)
XYZxyz(6.0404, 3.0713, 16.7942)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481274 #3E7412
analogous
#171274 #481274 #74126F
triadic
#481274 #744812 #127448
tetradic
#481274 #741712 #3E7412 #126F74
square
#481274 #741712 #3E7412 #126F74
split-complementary
#481274 #6F7412 #127417
monochromatic
#10041A #270A3F #481274 #691AA9 #8A23DD

Accessibility & contrast

On white

13.01
#481274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481274
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481274#FFFFFF#000000##FFFFFF
##4812741.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#3F2D44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #481274;
/* rgb */ color: rgb(72, 18, 116);
/* oklch */ color: oklch(33.3% 0.153 303.6);
Tailwind
colors: {
  custom: {
    50: '#80589d',
    500: '#481274',
    950: '#000000',
  },
}
SCSS
$custom: #481274;
$custom-light: #80589d;
$custom-dark: #000000;
JSON
{
  "hex": "#481274",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 273.061,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33285,
    "c": 0.15296,
    "h": 303.6
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#481274
secondary
#6BAB37
accent
#F0388B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #481274

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

Preview Lab → · Contrast checker → · Palette generator →

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