#74186D#74186D

#74186D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.158 H 331.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#74186D
RGBrgb(116, 24, 109)
HSLhsl(305, 66%, 27%)
HSVhsv(305, 79%, 45%)
CMYKcmyk(0%, 79.3%, 6%, 54.5%)
CIE-LABlab(28.04, 48.48, -27.32)
CIE-LCHlch(28.04, 55.65, 330.60°)
OKLaboklab(40.06% 0.1387 -0.0753)
OKLCHoklch(40.06% 0.158 331.5)
XYZxyz(10.2894, 5.4712, 14.9792)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74186D #18741F
analogous
#4D1874 #74186D #74183F
triadic
#74186D #6D7418 #186D74
tetradic
#74186D #744D18 #18741F #183F74
square
#74186D #744D18 #18741F #183F74
split-complementary
#74186D #3F7418 #18744D
monochromatic
#190518 #410E3D #74186D #A7229D #D532C8

Accessibility & contrast

On white

10.03
#74186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#74186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74186D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74186D#FFFFFF#000000##FFFFFF
##74186D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A6F
Deuteranopia (green-blind)
#36476B
Tritanopia (blue-blind)
#792441
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #74186d;
/* rgb */ color: rgb(116, 24, 109);
/* oklch */ color: oklch(40.1% 0.158 331.5);
Tailwind
colors: {
  custom: {
    50: '#9f6197',
    500: '#74186d',
    950: '#000000',
  },
}
SCSS
$custom: #74186d;
$custom-light: #9f6197;
$custom-dark: #000000;
JSON
{
  "hex": "#74186d",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 304.565,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40055,
    "c": 0.15777,
    "h": 331.5
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#74186D
secondary
#3FA947
accent
#E94C3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #74186D

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

Preview Lab → · Contrast checker → · Palette generator →

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