#90339B#90339B

#90339B is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.7% C 0.178 H 323.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#90339B
RGBrgb(144, 51, 155)
HSLhsl(294, 50%, 40%)
HSVhsv(294, 67%, 61%)
CMYKcmyk(7.1%, 67.1%, 0%, 39.2%)
CIE-LABlab(39.01, 53.18, -38.24)
CIE-LCHlch(39.01, 65.51, 324.28°)
OKLaboklab(49.72% 0.1429 -0.1064)
OKLCHoklch(49.72% 0.178 323.3)
XYZxyz(18.6013, 10.6646, 32.0827)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90339B #3E9B33
analogous
#5C339B #90339B #9B3372
triadic
#90339B #9B9033 #339B90
tetradic
#90339B #9B5C33 #3E9B33 #33729B
square
#90339B #9B5C33 #3E9B33 #33729B
split-complementary
#90339B #729B33 #339B5C
monochromatic
#3A153F #65246D #90339B #B648C3 #C876D2

Accessibility & contrast

On white

6.70
#90339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#90339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90339B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90339B#FFFFFF#000000##FFFFFF
##90339B1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559E
Deuteranopia (green-blind)
#436098
Tritanopia (blue-blind)
#924463
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #90339b;
/* rgb */ color: rgb(144, 51, 155);
/* oklch */ color: oklch(49.7% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#b472b9',
    500: '#90339b',
    950: '#000000',
  },
}
SCSS
$custom: #90339b;
$custom-light: #b472b9;
$custom-dark: #000000;
JSON
{
  "hex": "#90339b",
  "rgb": {
    "r": 144,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 293.654,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49716,
    "c": 0.17821,
    "h": 323.3
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#90339B
secondary
#77BA6F
accent
#DA4E5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #90339B

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

Preview Lab → · Contrast checker → · Palette generator →

#90339B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva