#90308D#90308D

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

Color values

HEX#90308D
RGBrgb(144, 48, 141)
HSLhsl(302, 50%, 38%)
HSVhsv(302, 67%, 56%)
CMYKcmyk(0%, 66.7%, 2.1%, 43.5%)
CIE-LABlab(37.78, 51.89, -31.67)
CIE-LCHlch(37.78, 60.79, 328.60°)
OKLaboklab(48.58% 0.1459 -0.0873)
OKLCHoklch(48.58% 0.17 329.1)
XYZxyz(17.3661, 9.9675, 26.2034)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90308D #309033
analogous
#633090 #90308D #90305D
triadic
#90308D #8D9030 #308D90
tetradic
#90308D #906330 #309033 #305D90
square
#90308D #906330 #309033 #305D90
split-complementary
#90308D #5D9030 #309063
monochromatic
#341133 #622160 #90308D #BE3FBA #CE6CCB

Accessibility & contrast

On white

7.02
#90308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#90308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90308D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90308D#FFFFFF#000000##FFFFFF
##90308D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#495D8A
Tritanopia (blue-blind)
#953C5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #90308d;
/* rgb */ color: rgb(144, 48, 141);
/* oklch */ color: oklch(48.6% 0.170 329.1);
Tailwind
colors: {
  custom: {
    50: '#b370af',
    500: '#90308d',
    950: '#000000',
  },
}
SCSS
$custom: #90308d;
$custom-light: #b370af;
$custom-dark: #000000;
JSON
{
  "hex": "#90308d",
  "rgb": {
    "r": 144,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 301.875,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48579,
    "c": 0.17008,
    "h": 329.1
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#90308D
secondary
#66B569
accent
#DA534E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90308D

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

Preview Lab → · Contrast checker → · Palette generator →

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