#74187E#74187E

#74187E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.172 H 323.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#74187E
RGBrgb(116, 24, 126)
HSLhsl(294, 68%, 29%)
HSVhsv(294, 81%, 49%)
CMYKcmyk(7.9%, 81%, 0%, 50.6%)
CIE-LABlab(29.09, 51.46, -36.46)
CIE-LCHlch(29.09, 63.07, 324.68°)
OKLaboklab(41.14% 0.138 -0.1019)
OKLCHoklch(41.14% 0.172 323.6)
XYZxyz(11.2946, 5.8733, 20.2734)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74187E #227E18
analogous
#41187E #74187E #7E1855
triadic
#74187E #7E7418 #187E74
tetradic
#74187E #7E4118 #227E18 #18557E
square
#74187E #7E4118 #227E18 #18557E
split-complementary
#74187E #557E18 #187E41
monochromatic
#18051A #450E4B #74187E #A322B1 #C937D9

Accessibility & contrast

On white

9.66
#74187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74187E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74187E#FFFFFF#000000##FFFFFF
##74187E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#762C4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #74187e;
/* rgb */ color: rgb(116, 24, 126);
/* oklch */ color: oklch(41.1% 0.172 323.6);
Tailwind
colors: {
  custom: {
    50: '#a061a4',
    500: '#74187e',
    950: '#000000',
  },
}
SCSS
$custom: #74187e;
$custom-light: #a061a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74187e",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 294.118,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41144,
    "c": 0.17156,
    "h": 323.6
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#74187E
secondary
#4BB23F
accent
#EB3D4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74187E

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

Preview Lab → · Contrast checker → · Palette generator →

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