#74197B#74197B

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

Color values

HEX#74197B
RGBrgb(116, 25, 123)
HSLhsl(296, 66%, 29%)
HSVhsv(296, 80%, 48%)
CMYKcmyk(5.7%, 79.7%, 0%, 51.8%)
CIE-LABlab(29.00, 50.60, -34.71)
CIE-LCHlch(29.00, 61.36, 325.55°)
OKLaboklab(41.02% 0.1374 -0.0968)
OKLCHoklch(41.02% 0.168 324.9)
XYZxyz(11.1250, 5.8391, 19.2761)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74197B #207B19
analogous
#43197B #74197B #7B1951
triadic
#74197B #7B7419 #197B74
tetradic
#74197B #7B4319 #207B19 #19517B
square
#74197B #7B4319 #207B19 #19517B
split-complementary
#74197B #517B19 #197B43
monochromatic
#180519 #440F48 #74197B #A423AE #CB38D7

Accessibility & contrast

On white

9.69
#74197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#74197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74197B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74197B#FFFFFF#000000##FFFFFF
##74197B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #74197b;
/* rgb */ color: rgb(116, 25, 123);
/* oklch */ color: oklch(41.0% 0.168 324.9);
Tailwind
colors: {
  custom: {
    50: '#9f62a2',
    500: '#74197b',
    950: '#000000',
  },
}
SCSS
$custom: #74197b;
$custom-light: #9f62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74197b",
  "rgb": {
    "r": 116,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 295.714,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.16808,
    "h": 324.9
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#74197B
secondary
#48AF40
accent
#E93F4B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74197B

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

Preview Lab → · Contrast checker → · Palette generator →

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