#74189F#74189F

#74189F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.200 H 311.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#74189F
RGBrgb(116, 24, 159)
HSLhsl(281, 74%, 36%)
HSVhsv(281, 85%, 62%)
CMYKcmyk(27%, 84.9%, 0%, 37.6%)
CIE-LABlab(31.51, 57.93, -52.96)
CIE-LCHlch(31.51, 78.49, 317.56°)
OKLaboklab(43.6% 0.1318 -0.1503)
OKLCHoklch(43.6% 0.2 311.3)
XYZxyz(13.7859, 6.8698, 33.3940)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74189F #439F18
analogous
#31189F #74189F #9F1886
triadic
#74189F #9F7418 #189F74
tetradic
#74189F #9F3118 #439F18 #18869F
square
#74189F #9F3118 #439F18 #18869F
split-complementary
#74189F #869F18 #189F31
monochromatic
#260835 #4D106A #74189F #9B20D4 #B44DE4

Accessibility & contrast

On white

8.85
#74189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#74189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74189F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74189F#FFFFFF#000000##FFFFFF
##74189F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#6E3D5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74189f;
/* rgb */ color: rgb(116, 24, 159);
/* oklch */ color: oklch(43.6% 0.200 311.3);
Tailwind
colors: {
  custom: {
    50: '#a163bc',
    500: '#74189f',
    950: '#000000',
  },
}
SCSS
$custom: #74189f;
$custom-light: #a163bc;
$custom-dark: #000000;
JSON
{
  "hex": "#74189f",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 280.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43603,
    "c": 0.19992,
    "h": 311.3
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#74189F
secondary
#73C64D
accent
#F03772
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #74189F

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

Preview Lab → · Contrast checker → · Palette generator →

#74189F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva