#74288C#74288C

#74288C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.166 H 316.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#74288C
RGBrgb(116, 40, 140)
HSLhsl(286, 56%, 35%)
HSVhsv(286, 71%, 55%)
CMYKcmyk(17.1%, 71.4%, 0%, 45.1%)
CIE-LABlab(32.09, 48.30, -40.39)
CIE-LCHlch(32.09, 62.96, 320.10°)
OKLaboklab(43.57% 0.1211 -0.1135)
OKLCHoklch(43.57% 0.166 316.9)
XYZxyz(12.6942, 7.1246, 25.5124)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74288C #408C28
analogous
#42288C #74288C #8C2872
triadic
#74288C #8C7428 #288C74
tetradic
#74288C #8C4228 #408C28 #28728C
square
#74288C #8C4228 #408C28 #28728C
split-complementary
#74288C #728C28 #288C42
monochromatic
#250D2D #4D1A5C #74288C #9B36BC #B55ED1

Accessibility & contrast

On white

8.66
#74288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#74288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74288C
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74288C#FFFFFF#000000##FFFFFF
##74288C1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#733C57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #74288c;
/* rgb */ color: rgb(116, 40, 140);
/* oklch */ color: oklch(43.6% 0.166 316.9);
Tailwind
colors: {
  custom: {
    50: '#9f69ae',
    500: '#74288c',
    950: '#000000',
  },
}
SCSS
$custom: #74288c;
$custom-light: #9f69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#74288c",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 285.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43574,
    "c": 0.16598,
    "h": 316.9
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#74288C
secondary
#70B65A
accent
#DF496D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #74288C

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

Preview Lab → · Contrast checker → · Palette generator →

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