#901581#901581

#901581 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.190 H 334.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#901581
RGBrgb(144, 21, 129)
HSLhsl(307, 75%, 32%)
HSVhsv(307, 85%, 56%)
CMYKcmyk(0%, 85.4%, 10.4%, 43.5%)
CIE-LABlab(34.09, 58.62, -30.08)
CIE-LCHlch(34.09, 65.89, 332.83°)
OKLaboklab(45.72% 0.1706 -0.0826)
OKLCHoklch(45.72% 0.19 334.2)
XYZxyz(15.7324, 8.0521, 21.4903)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901581 #159024
analogous
#611590 #901581 #901544
triadic
#901581 #819015 #158190
tetradic
#901581 #906115 #159024 #154490
square
#901581 #906115 #159024 #154490
split-complementary
#901581 #449015 #159061
monochromatic
#250521 #5B0D51 #901581 #C51DB1 #E33DCE

Accessibility & contrast

On white

8.05
#901581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#901581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901581
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901581#FFFFFF#000000##FFFFFF
##9015811.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114584
Deuteranopia (green-blind)
#45567E
Tritanopia (blue-blind)
#97244C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901581;
/* rgb */ color: rgb(144, 21, 129);
/* oklch */ color: oklch(45.7% 0.190 334.2);
Tailwind
colors: {
  custom: {
    50: '#b465a6',
    500: '#901581',
    950: '#000000',
  },
}
SCSS
$custom: #901581;
$custom-light: #b465a6;
$custom-dark: #000000;
JSON
{
  "hex": "#901581",
  "rgb": {
    "r": 144,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 307.317,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.1895,
    "h": 334.2
  },
  "luminance": 0.08051
}

Semantic roles & 50–950 ramp

primary
#901581
secondary
#3EC24E
accent
#F14D37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901581

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

Preview Lab → · Contrast checker → · Palette generator →

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