#90239D#90239D

#90239D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.199 H 323.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#90239D
RGBrgb(144, 35, 157)
HSLhsl(294, 64%, 38%)
HSVhsv(294, 78%, 62%)
CMYKcmyk(8.3%, 77.7%, 0%, 38.4%)
CIE-LABlab(37.05, 59.45, -42.57)
CIE-LCHlch(37.05, 73.12, 324.39°)
OKLaboklab(48.36% 0.159 -0.119)
OKLCHoklch(48.36% 0.199 323.2)
XYZxyz(18.1879, 9.5668, 32.7803)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90239D #309D23
analogous
#53239D #90239D #9D236D
triadic
#90239D #9D9023 #239D90
tetradic
#90239D #9D5323 #309D23 #236D9D
square
#90239D #9D5323 #309D23 #236D9D
split-complementary
#90239D #6D9D23 #239D53
monochromatic
#340D39 #62186B #90239D #BE2ECF #CE5FDB

Accessibility & contrast

On white

7.21
#90239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#90239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90239D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90239D#FFFFFF#000000##FFFFFF
##90239D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#385B9A
Tritanopia (blue-blind)
#923B5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #90239d;
/* rgb */ color: rgb(144, 35, 157);
/* oklch */ color: oklch(48.4% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#b46bba',
    500: '#90239d',
    950: '#000000',
  },
}
SCSS
$custom: #90239d;
$custom-light: #b46bba;
$custom-dark: #000000;
JSON
{
  "hex": "#90239d",
  "rgb": {
    "r": 144,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 293.607,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.19854,
    "h": 323.2
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#90239D
secondary
#66C05C
accent
#E74153
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #90239D

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

Preview Lab → · Contrast checker → · Palette generator →

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