#90288D#90288D

#90288D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.180 H 329.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#90288D
RGBrgb(144, 40, 141)
HSLhsl(302, 57%, 36%)
HSVhsv(302, 72%, 56%)
CMYKcmyk(0%, 72.2%, 2.1%, 43.5%)
CIE-LABlab(36.69, 54.98, -33.40)
CIE-LCHlch(36.69, 64.33, 328.72°)
OKLaboklab(47.79% 0.1547 -0.0923)
OKLCHoklch(47.79% 0.18 329.2)
XYZxyz(17.0680, 9.3712, 26.1040)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90288D #28902B
analogous
#5F2890 #90288D #902859
triadic
#90288D #8D9028 #288D90
tetradic
#90288D #905F28 #28902B #285990
square
#90288D #905F28 #28902B #285990
split-complementary
#90288D #599028 #28905F
monochromatic
#300D2F #601B5E #90288D #C035BC #D360CF

Accessibility & contrast

On white

7.31
#90288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#90288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90288D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90288D#FFFFFF#000000##FFFFFF
##90288D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#953658
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #90288d;
/* rgb */ color: rgb(144, 40, 141);
/* oklch */ color: oklch(47.8% 0.180 329.2);
Tailwind
colors: {
  custom: {
    50: '#b46daf',
    500: '#90288d',
    950: '#000000',
  },
}
SCSS
$custom: #90288d;
$custom-light: #b46daf;
$custom-dark: #000000;
JSON
{
  "hex": "#90288d",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 301.731,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4779,
    "c": 0.18016,
    "h": 329.2
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#90288D
secondary
#5CB85E
accent
#E04C48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90288D

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

Preview Lab → · Contrast checker → · Palette generator →

#90288D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva