#74187D#74187D

#74187D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.171 H 324.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#74187D
RGBrgb(116, 24, 125)
HSLhsl(295, 68%, 29%)
HSVhsv(295, 81%, 49%)
CMYKcmyk(7.2%, 80.8%, 0%, 51%)
CIE-LABlab(29.02, 51.28, -35.94)
CIE-LCHlch(29.02, 62.62, 324.98°)
OKLaboklab(41.08% 0.1381 -0.1003)
OKLCHoklch(41.08% 0.171 324)
XYZxyz(11.2304, 5.8477, 19.9352)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74187D #217D18
analogous
#41187D #74187D #7D1854
triadic
#74187D #7D7418 #187D74
tetradic
#74187D #7D4118 #217D18 #18547D
square
#74187D #7D4118 #217D18 #18547D
split-complementary
#74187D #547D18 #187D41
monochromatic
#18051A #440E4A #74187D #A422B0 #CA37D9

Accessibility & contrast

On white

9.68
#74187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#74187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74187D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74187D#FFFFFF#000000##FFFFFF
##74187D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#2C487B
Tritanopia (blue-blind)
#762C4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74187d;
/* rgb */ color: rgb(116, 24, 125);
/* oklch */ color: oklch(41.1% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#a061a3',
    500: '#74187d',
    950: '#000000',
  },
}
SCSS
$custom: #74187d;
$custom-light: #a061a3;
$custom-dark: #000000;
JSON
{
  "hex": "#74187d",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 294.653,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41076,
    "c": 0.17073,
    "h": 324
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#74187D
secondary
#49B23F
accent
#EB3D4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74187D

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

Preview Lab → · Contrast checker → · Palette generator →

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