#74288D#74288D

#74288D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.167 H 316.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#74288D
RGBrgb(116, 40, 141)
HSLhsl(285, 56%, 35%)
HSVhsv(285, 72%, 55%)
CMYKcmyk(17.7%, 71.6%, 0%, 44.7%)
CIE-LABlab(32.16, 48.51, -40.90)
CIE-LCHlch(32.16, 63.45, 319.87°)
OKLaboklab(43.64% 0.1211 -0.115)
OKLCHoklch(43.64% 0.167 316.5)
XYZxyz(12.7682, 7.1542, 25.9025)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74288D #418D28
analogous
#42288D #74288D #8D2873
triadic
#74288D #8D7428 #288D74
tetradic
#74288D #8D4228 #418D28 #28738D
square
#74288D #8D4228 #418D28 #28738D
split-complementary
#74288D #738D28 #288D42
monochromatic
#260D2E #4D1A5D #74288D #9B36BD #B55ED1

Accessibility & contrast

On white

8.64
#74288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#74288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74288D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74288D#FFFFFF#000000##FFFFFF
##74288D1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#733C57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #74288d;
/* rgb */ color: rgb(116, 40, 141);
/* oklch */ color: oklch(43.6% 0.167 316.5);
Tailwind
colors: {
  custom: {
    50: '#9f69af',
    500: '#74288d',
    950: '#000000',
  },
}
SCSS
$custom: #74288d;
$custom-light: #9f69af;
$custom-dark: #000000;
JSON
{
  "hex": "#74288d",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 285.149,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43643,
    "c": 0.16695,
    "h": 316.5
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#74288D
secondary
#71B75A
accent
#DF496E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #74288D

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

Preview Lab → · Contrast checker → · Palette generator →

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