#801274#801274

#801274 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.175 H 333.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#801274
RGBrgb(128, 18, 116)
HSLhsl(307, 75%, 29%)
HSVhsv(307, 86%, 50%)
CMYKcmyk(0%, 85.9%, 9.4%, 49.8%)
CIE-LABlab(30.12, 53.92, -28.36)
CIE-LCHlch(30.12, 60.93, 332.26°)
OKLaboklab(42.09% 0.1563 -0.0779)
OKLCHoklch(42.09% 0.175 333.5)
XYZxyz(12.2709, 6.2839, 17.0863)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801274 #12801E
analogous
#551280 #801274 #80123D
triadic
#801274 #748012 #127480
tetradic
#801274 #805512 #12801E #123D80
square
#801274 #805512 #12801E #123D80
split-complementary
#801274 #3D8012 #128055
monochromatic
#1B0418 #4A0A43 #801274 #B61AA5 #E12BCD

Accessibility & contrast

On white

9.31
#801274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#801274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801274
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801274#FFFFFF#000000##FFFFFF
##8012741.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#3C4C72
Tritanopia (blue-blind)
#862044
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801274;
/* rgb */ color: rgb(128, 18, 116);
/* oklch */ color: oklch(42.1% 0.175 333.5);
Tailwind
colors: {
  custom: {
    50: '#a9619c',
    500: '#801274',
    950: '#000000',
  },
}
SCSS
$custom: #801274;
$custom-light: #a9619c;
$custom-dark: #000000;
JSON
{
  "hex": "#801274",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 306.545,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42091,
    "c": 0.17463,
    "h": 333.5
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#801274
secondary
#38B646
accent
#F24A36
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801274

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

Preview Lab → · Contrast checker → · Palette generator →

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