#74288F#74288F

#74288F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.169 H 315.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#74288F
RGBrgb(116, 40, 143)
HSLhsl(284, 56%, 36%)
HSVhsv(284, 72%, 56%)
CMYKcmyk(18.9%, 72%, 0%, 43.9%)
CIE-LABlab(32.29, 48.93, -41.91)
CIE-LCHlch(32.29, 64.43, 319.42°)
OKLaboklab(43.78% 0.1209 -0.1179)
OKLCHoklch(43.78% 0.169 315.7)
XYZxyz(12.9184, 7.2142, 26.6933)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74288F #438F28
analogous
#40288F #74288F #8F2876
triadic
#74288F #8F7428 #288F74
tetradic
#74288F #8F4028 #438F28 #28768F
square
#74288F #8F4028 #438F28 #28768F
split-complementary
#74288F #768F28 #288F40
monochromatic
#260D2F #4D1B5F #74288F #9B35BF #B45FD2

Accessibility & contrast

On white

8.60
#74288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#74288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74288F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74288F#FFFFFF#000000##FFFFFF
##74288F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#264E8D
Tritanopia (blue-blind)
#723D59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #74288f;
/* rgb */ color: rgb(116, 40, 143);
/* oklch */ color: oklch(43.8% 0.169 315.7);
Tailwind
colors: {
  custom: {
    50: '#9f69b0',
    500: '#74288f',
    950: '#000000',
  },
}
SCSS
$custom: #74288f;
$custom-light: #9f69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74288f",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 284.272,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43782,
    "c": 0.16888,
    "h": 315.7
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#74288F
secondary
#73B85B
accent
#E04870
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #74288F

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

Preview Lab → · Contrast checker → · Palette generator →

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