#74188D#74188D

#74188D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.184 H 317.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#74188D
RGBrgb(116, 24, 141)
HSLhsl(287, 71%, 32%)
HSVhsv(287, 83%, 55%)
CMYKcmyk(17.7%, 83%, 0%, 44.7%)
CIE-LABlab(30.13, 54.31, -44.16)
CIE-LCHlch(30.13, 69.99, 320.89°)
OKLaboklab(42.21% 0.1359 -0.1244)
OKLCHoklch(42.21% 0.184 317.5)
XYZxyz(12.3361, 6.2899, 25.7584)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74188D #318D18
analogous
#39188D #74188D #8D186C
triadic
#74188D #8D7418 #188D74
tetradic
#74188D #8D3918 #318D18 #186C8D
square
#74188D #8D3918 #318D18 #186C8D
split-complementary
#74188D #6C8D18 #188D39
monochromatic
#1E0624 #490F59 #74188D #9F21C1 #BD41DF

Accessibility & contrast

On white

9.30
#74188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#74188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74188D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74188D#FFFFFF#000000##FFFFFF
##74188D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#733454
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74188d;
/* rgb */ color: rgb(116, 24, 141);
/* oklch */ color: oklch(42.2% 0.184 317.5);
Tailwind
colors: {
  custom: {
    50: '#a062af',
    500: '#74188d',
    950: '#000000',
  },
}
SCSS
$custom: #74188d;
$custom-light: #a062af;
$custom-dark: #000000;
JSON
{
  "hex": "#74188d",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 287.179,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4221,
    "c": 0.18428,
    "h": 317.5
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#74188D
secondary
#5CBF42
accent
#EE3A60
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74188D

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

Preview Lab → · Contrast checker → · Palette generator →

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