#901582#901582

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

Color values

HEX#901582
RGBrgb(144, 21, 130)
HSLhsl(307, 75%, 32%)
HSVhsv(307, 85%, 56%)
CMYKcmyk(0%, 85.4%, 9.7%, 43.5%)
CIE-LABlab(34.15, 58.77, -30.62)
CIE-LCHlch(34.15, 66.27, 332.48°)
OKLaboklab(45.77% 0.1706 -0.0841)
OKLCHoklch(45.77% 0.19 333.8)
XYZxyz(15.7992, 8.0788, 21.8420)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901582 #159023
analogous
#601590 #901582 #901545
triadic
#901582 #829015 #158290
tetradic
#901582 #906015 #159023 #154590
square
#901582 #906015 #159023 #154590
split-complementary
#901582 #459015 #159060
monochromatic
#250522 #5B0D52 #901582 #C51DB2 #E33DD0

Accessibility & contrast

On white

8.03
#901582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#901582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901582
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901582#FFFFFF#000000##FFFFFF
##9015821.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4585
Deuteranopia (green-blind)
#44567F
Tritanopia (blue-blind)
#97244D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901582;
/* rgb */ color: rgb(144, 21, 130);
/* oklch */ color: oklch(45.8% 0.190 333.8);
Tailwind
colors: {
  custom: {
    50: '#b465a7',
    500: '#901582',
    950: '#000000',
  },
}
SCSS
$custom: #901582;
$custom-light: #b465a7;
$custom-dark: #000000;
JSON
{
  "hex": "#901582",
  "rgb": {
    "r": 144,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 306.829,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45773,
    "c": 0.1902,
    "h": 333.8
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#901582
secondary
#3EC24D
accent
#F14C37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901582

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

Preview Lab → · Contrast checker → · Palette generator →

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