#74288A#74288A

#74288A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.164 H 317.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#74288A
RGBrgb(116, 40, 138)
HSLhsl(287, 55%, 35%)
HSVhsv(287, 71%, 54%)
CMYKcmyk(15.9%, 71%, 0%, 45.9%)
CIE-LABlab(31.96, 47.88, -39.36)
CIE-LCHlch(31.96, 61.99, 320.58°)
OKLaboklab(43.44% 0.1213 -0.1105)
OKLCHoklch(43.44% 0.164 317.7)
XYZxyz(12.5480, 7.0661, 24.7428)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74288A #3E8A28
analogous
#43288A #74288A #8A286F
triadic
#74288A #8A7428 #288A74
tetradic
#74288A #8A4328 #3E8A28 #286F8A
square
#74288A #8A4328 #3E8A28 #286F8A
split-complementary
#74288A #6F8A28 #288A43
monochromatic
#240C2B #4C1A5B #74288A #9C36B9 #B65DD0

Accessibility & contrast

On white

8.70
#74288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#74288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74288A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74288A#FFFFFF#000000##FFFFFF
##74288A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#2B4E88
Tritanopia (blue-blind)
#733B56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #74288a;
/* rgb */ color: rgb(116, 40, 138);
/* oklch */ color: oklch(43.4% 0.164 317.7);
Tailwind
colors: {
  custom: {
    50: '#9f69ad',
    500: '#74288a',
    950: '#000000',
  },
}
SCSS
$custom: #74288a;
$custom-light: #9f69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74288a",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 286.531,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43437,
    "c": 0.16404,
    "h": 317.7
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#74288A
secondary
#6DB559
accent
#DE496B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #74288A

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

Preview Lab → · Contrast checker → · Palette generator →

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