#74187A#74187A

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

Color values

HEX#74187A
RGBrgb(116, 24, 122)
HSLhsl(296, 67%, 29%)
HSVhsv(296, 80%, 48%)
CMYKcmyk(4.9%, 80.3%, 0%, 52.2%)
CIE-LABlab(28.83, 50.74, -34.35)
CIE-LCHlch(28.83, 61.27, 325.90°)
OKLaboklab(40.88% 0.1384 -0.0957)
OKLCHoklch(40.88% 0.168 325.3)
XYZxyz(11.0417, 5.7722, 18.9411)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74187A #1E7A18
analogous
#43187A #74187A #7A184F
triadic
#74187A #7A7418 #187A74
tetradic
#74187A #7A4318 #1E7A18 #184F7A
square
#74187A #7A4318 #1E7A18 #184F7A
split-complementary
#74187A #4F7A18 #187A43
monochromatic
#18051A #430E47 #74187A #A522AD #CD35D7

Accessibility & contrast

On white

9.75
#74187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#74187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74187A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74187A#FFFFFF#000000##FFFFFF
##74187A1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#772A49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #74187a;
/* rgb */ color: rgb(116, 24, 122);
/* oklch */ color: oklch(40.9% 0.168 325.3);
Tailwind
colors: {
  custom: {
    50: '#9f61a1',
    500: '#74187a',
    950: '#000000',
  },
}
SCSS
$custom: #74187a;
$custom-light: #9f61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74187a",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 296.327,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40876,
    "c": 0.16824,
    "h": 325.3
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#74187A
secondary
#46AF3F
accent
#EA3E48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #74187A

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

Preview Lab → · Contrast checker → · Palette generator →

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