#901381#901381

#901381 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.191 H 334.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#901381
RGBrgb(144, 19, 129)
HSLhsl(307, 77%, 32%)
HSVhsv(307, 87%, 56%)
CMYKcmyk(0%, 86.8%, 10.4%, 43.5%)
CIE-LABlab(33.94, 59.05, -30.31)
CIE-LCHlch(33.94, 66.37, 332.82°)
OKLaboklab(45.61% 0.1718 -0.0832)
OKLCHoklch(45.61% 0.191 334.2)
XYZxyz(15.6971, 7.9815, 21.4785)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901381 #139022
analogous
#611390 #901381 #901343
triadic
#901381 #819013 #138190
tetradic
#901381 #906113 #139022 #134390
square
#901381 #906113 #139022 #134390
split-complementary
#901381 #439013 #139061
monochromatic
#240520 #5A0C51 #901381 #C61AB1 #E539D0

Accessibility & contrast

On white

8.09
#901381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#901381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901381
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901381#FFFFFF#000000##FFFFFF
##9013811.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4584
Deuteranopia (green-blind)
#44567E
Tritanopia (blue-blind)
#97234C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901381;
/* rgb */ color: rgb(144, 19, 129);
/* oklch */ color: oklch(45.6% 0.191 334.2);
Tailwind
colors: {
  custom: {
    50: '#b565a6',
    500: '#901381',
    950: '#000000',
  },
}
SCSS
$custom: #901381;
$custom-light: #b565a6;
$custom-dark: #000000;
JSON
{
  "hex": "#901381",
  "rgb": {
    "r": 144,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 307.2,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45611,
    "c": 0.19092,
    "h": 334.2
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#901381
secondary
#3BC44B
accent
#F34B35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #901381

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

Preview Lab → · Contrast checker → · Palette generator →

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