#90318D#90318D

#90318D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.169 H 329.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#90318D
RGBrgb(144, 49, 141)
HSLhsl(302, 49%, 38%)
HSVhsv(302, 66%, 56%)
CMYKcmyk(0%, 66%, 2.1%, 43.5%)
CIE-LABlab(37.93, 51.48, -31.44)
CIE-LCHlch(37.93, 60.32, 328.59°)
OKLaboklab(48.69% 0.1448 -0.0867)
OKLCHoklch(48.69% 0.169 329.1)
XYZxyz(17.4075, 10.0502, 26.2172)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90318D #319034
analogous
#643190 #90318D #90315D
triadic
#90318D #8D9031 #318D90
tetradic
#90318D #906431 #319034 #315D90
square
#90318D #906431 #319034 #315D90
split-complementary
#90318D #5D9031 #319064
monochromatic
#351234 #622160 #90318D #BE41BA #CE6ECB

Accessibility & contrast

On white

6.98
#90318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#90318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90318D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90318D#FFFFFF#000000##FFFFFF
##90318D1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#4A5E8A
Tritanopia (blue-blind)
#953D5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #90318d;
/* rgb */ color: rgb(144, 49, 141);
/* oklch */ color: oklch(48.7% 0.169 329.1);
Tailwind
colors: {
  custom: {
    50: '#b371af',
    500: '#90318d',
    950: '#000000',
  },
}
SCSS
$custom: #90318d;
$custom-light: #b371af;
$custom-dark: #000000;
JSON
{
  "hex": "#90318d",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 301.895,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48686,
    "c": 0.16873,
    "h": 329.1
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#90318D
secondary
#68B56A
accent
#D9534F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90318D

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

Preview Lab → · Contrast checker → · Palette generator →

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