#74187B#74187B

#74187B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.169 H 324.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#74187B
RGBrgb(116, 24, 123)
HSLhsl(296, 67%, 29%)
HSVhsv(296, 80%, 48%)
CMYKcmyk(5.7%, 80.5%, 0%, 51.8%)
CIE-LABlab(28.89, 50.92, -34.88)
CIE-LCHlch(28.89, 61.72, 325.58°)
OKLaboklab(40.94% 0.1383 -0.0973)
OKLCHoklch(40.94% 0.169 324.9)
XYZxyz(11.1040, 5.7971, 19.2691)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74187B #1F7B18
analogous
#43187B #74187B #7B1851
triadic
#74187B #7B7418 #187B74
tetradic
#74187B #7B4318 #1F7B18 #18517B
square
#74187B #7B4318 #1F7B18 #18517B
split-complementary
#74187B #517B18 #187B43
monochromatic
#18051A #440E48 #74187B #A422AE #CC36D8

Accessibility & contrast

On white

9.73
#74187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74187B
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74187B#FFFFFF#000000##FFFFFF
##74187B1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#772B49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74187b;
/* rgb */ color: rgb(116, 24, 123);
/* oklch */ color: oklch(40.9% 0.169 324.9);
Tailwind
colors: {
  custom: {
    50: '#9f61a2',
    500: '#74187b',
    950: '#000000',
  },
}
SCSS
$custom: #74187b;
$custom-light: #9f61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74187b",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 295.758,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40942,
    "c": 0.16907,
    "h": 324.9
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#74187B
secondary
#47B03F
accent
#EA3E4A
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74187B

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

Preview Lab → · Contrast checker → · Palette generator →

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