#74148E#74148E

#74148E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.188 H 317.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#74148E
RGBrgb(116, 20, 142)
HSLhsl(287, 75%, 32%)
HSVhsv(287, 86%, 56%)
CMYKcmyk(18.3%, 85.9%, 0%, 44.3%)
CIE-LABlab(29.83, 55.60, -45.26)
CIE-LCHlch(29.83, 71.69, 320.85°)
OKLaboklab(42.02% 0.1386 -0.1277)
OKLCHoklch(42.02% 0.188 317.3)
XYZxyz(12.3344, 6.1669, 26.1266)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74148E #2E8E14
analogous
#37148E #74148E #8E146B
triadic
#74148E #8E7414 #148E74
tetradic
#74148E #8E3714 #2E8E14 #146B8E
square
#74148E #8E3714 #2E8E14 #146B8E
split-complementary
#74148E #6B8E14 #148E37
monochromatic
#1C0523 #480C58 #74148E #A01CC4 #BF39E3

Accessibility & contrast

On white

9.40
#74148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#74148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74148E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74148E#FFFFFF#000000##FFFFFF
##74148E1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#733354
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #74148e;
/* rgb */ color: rgb(116, 20, 142);
/* oklch */ color: oklch(42.0% 0.188 317.3);
Tailwind
colors: {
  custom: {
    50: '#a061b0',
    500: '#74148e',
    950: '#000000',
  },
}
SCSS
$custom: #74148e;
$custom-light: #a061b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74148e",
  "rgb": {
    "r": 116,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 287.213,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42021,
    "c": 0.1884,
    "h": 317.3
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#74148E
secondary
#59C23C
accent
#F2365E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74148E

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

Preview Lab → · Contrast checker → · Palette generator →

#74148E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva