#74189D#74189D

#74189D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.198 H 311.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#74189D
RGBrgb(116, 24, 157)
HSLhsl(282, 73%, 35%)
HSVhsv(282, 85%, 62%)
CMYKcmyk(26.1%, 84.7%, 0%, 38.4%)
CIE-LABlab(31.35, 57.51, -52.01)
CIE-LCHlch(31.35, 77.54, 317.88°)
OKLaboklab(43.44% 0.1324 -0.1475)
OKLCHoklch(43.44% 0.198 311.9)
XYZxyz(13.6138, 6.8010, 32.4873)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74189D #419D18
analogous
#32189D #74189D #9D1883
triadic
#74189D #9D7418 #189D74
tetradic
#74189D #9D3218 #419D18 #18839D
square
#74189D #9D3218 #419D18 #18839D
split-complementary
#74189D #839D18 #189D32
monochromatic
#260833 #4D1068 #74189D #9B20D2 #B54CE4

Accessibility & contrast

On white

8.90
#74189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#74189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74189D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74189D#FFFFFF#000000##FFFFFF
##74189D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#6F3C5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74189d;
/* rgb */ color: rgb(116, 24, 157);
/* oklch */ color: oklch(43.4% 0.198 311.9);
Tailwind
colors: {
  custom: {
    50: '#a163bb',
    500: '#74189d',
    950: '#000000',
  },
}
SCSS
$custom: #74189d;
$custom-light: #a163bb;
$custom-dark: #000000;
JSON
{
  "hex": "#74189d",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 281.504,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43443,
    "c": 0.19817,
    "h": 311.9
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#74189D
secondary
#71C54B
accent
#F03871
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #74189D

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

Preview Lab → · Contrast checker → · Palette generator →

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