#74287F#74287F

#74287F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.154 H 322.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#74287F
RGBrgb(116, 40, 127)
HSLhsl(292, 52%, 33%)
HSVhsv(292, 69%, 50%)
CMYKcmyk(8.7%, 68.5%, 0%, 50.2%)
CIE-LABlab(31.26, 45.66, -33.62)
CIE-LCHlch(31.26, 56.70, 323.63°)
OKLaboklab(42.72% 0.1217 -0.0937)
OKLCHoklch(42.72% 0.154 322.4)
XYZxyz(11.7916, 6.7635, 20.7590)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74287F #337F28
analogous
#49287F #74287F #7F285E
triadic
#74287F #7F7428 #287F74
tetradic
#74287F #7F4928 #337F28 #285E7F
square
#74287F #7F4928 #337F28 #285E7F
split-complementary
#74287F #5E7F28 #287F49
monochromatic
#1F0B22 #491950 #74287F #9F37AE #BC57CA

Accessibility & contrast

On white

8.93
#74287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#74287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74287F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74287F#FFFFFF#000000##FFFFFF
##74287F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114482
Deuteranopia (green-blind)
#344D7D
Tritanopia (blue-blind)
#763650
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74287f;
/* rgb */ color: rgb(116, 40, 127);
/* oklch */ color: oklch(42.7% 0.154 322.4);
Tailwind
colors: {
  custom: {
    50: '#9f68a4',
    500: '#74287f',
    950: '#000000',
  },
}
SCSS
$custom: #74287f;
$custom-light: #9f68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74287f",
  "rgb": {
    "r": 116,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 292.414,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42716,
    "c": 0.15356,
    "h": 322.4
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#74287F
secondary
#5FAF54
accent
#DC4C5E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #74287F

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

Preview Lab → · Contrast checker → · Palette generator →

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