#74147B#74147B

#74147B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.7% C 0.173 H 325.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#74147B
RGBrgb(116, 20, 123)
HSLhsl(296, 72%, 28%)
HSVhsv(296, 84%, 48%)
CMYKcmyk(5.7%, 83.7%, 0%, 51.8%)
CIE-LABlab(28.50, 52.07, -35.52)
CIE-LCHlch(28.50, 63.03, 325.70°)
OKLaboklab(40.66% 0.1415 -0.0991)
OKLCHoklch(40.66% 0.173 325)
XYZxyz(11.0275, 5.6441, 19.2436)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74147B #1B7B14
analogous
#40147B #74147B #7B144E
triadic
#74147B #7B7414 #147B74
tetradic
#74147B #7B4014 #1B7B14 #144E7B
square
#74147B #7B4014 #1B7B14 #144E7B
split-complementary
#74147B #4E7B14 #147B40
monochromatic
#19041A #420B46 #74147B #A61DB0 #D12DDD

Accessibility & contrast

On white

9.87
#74147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#74147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74147B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74147B#FFFFFF#000000##FFFFFF
##74147B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#2C4779
Tritanopia (blue-blind)
#772949
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #74147b;
/* rgb */ color: rgb(116, 20, 123);
/* oklch */ color: oklch(40.7% 0.173 325.0);
Tailwind
colors: {
  custom: {
    50: '#a060a2',
    500: '#74147b',
    950: '#000000',
  },
}
SCSS
$custom: #74147b;
$custom-light: #a060a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74147b",
  "rgb": {
    "r": 116,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 295.922,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4066,
    "c": 0.17273,
    "h": 325
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#74147B
secondary
#42B13A
accent
#EF3945
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74147B

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

Preview Lab → · Contrast checker → · Palette generator →

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