#74187C#74187C

#74187C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.170 H 324.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#74187C
RGBrgb(116, 24, 124)
HSLhsl(295, 68%, 29%)
HSVhsv(295, 81%, 49%)
CMYKcmyk(6.5%, 80.6%, 0%, 51.4%)
CIE-LABlab(28.96, 51.10, -35.41)
CIE-LCHlch(28.96, 62.17, 325.28°)
OKLaboklab(41.01% 0.1382 -0.0988)
OKLCHoklch(41.01% 0.17 324.4)
XYZxyz(11.1669, 5.8222, 19.6005)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74187C #207C18
analogous
#42187C #74187C #7C1852
triadic
#74187C #7C7418 #187C74
tetradic
#74187C #7C4218 #207C18 #18527C
square
#74187C #7C4218 #207C18 #18527C
split-complementary
#74187C #527C18 #187C42
monochromatic
#18051A #440E49 #74187C #A422AF #CB36D8

Accessibility & contrast

On white

9.70
#74187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#74187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74187C
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74187C#FFFFFF#000000##FFFFFF
##74187C1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#762B4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74187c;
/* rgb */ color: rgb(116, 24, 124);
/* oklch */ color: oklch(41.0% 0.170 324.4);
Tailwind
colors: {
  custom: {
    50: '#a061a2',
    500: '#74187c',
    950: '#000000',
  },
}
SCSS
$custom: #74187c;
$custom-light: #a061a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74187c",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 295.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41009,
    "c": 0.16989,
    "h": 324.4
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#74187C
secondary
#48B13F
accent
#EA3D4B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74187C

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

Preview Lab → · Contrast checker → · Palette generator →

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