#74148F#74148F

#74148F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.189 H 317.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#74148F
RGBrgb(116, 20, 143)
HSLhsl(287, 75%, 32%)
HSVhsv(287, 86%, 56%)
CMYKcmyk(18.9%, 86%, 0%, 43.9%)
CIE-LABlab(29.90, 55.79, -45.76)
CIE-LCHlch(29.90, 72.16, 320.64°)
OKLaboklab(42.1% 0.1384 -0.1291)
OKLCHoklch(42.1% 0.189 317)
XYZxyz(12.4098, 6.1970, 26.5237)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74148F #2F8F14
analogous
#36148F #74148F #8F146D
triadic
#74148F #8F7414 #148F74
tetradic
#74148F #8F3614 #2F8F14 #146D8F
square
#74148F #8F3614 #2F8F14 #146D8F
split-complementary
#74148F #6D8F14 #148F36
monochromatic
#1D0524 #480C59 #74148F #A01CC5 #BE3AE3

Accessibility & contrast

On white

9.38
#74148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#74148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74148F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74148F#FFFFFF#000000##FFFFFF
##74148F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#15498D
Tritanopia (blue-blind)
#723354
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #74148f;
/* rgb */ color: rgb(116, 20, 143);
/* oklch */ color: oklch(42.1% 0.189 317.0);
Tailwind
colors: {
  custom: {
    50: '#a061b0',
    500: '#74148f',
    950: '#000000',
  },
}
SCSS
$custom: #74148f;
$custom-light: #a061b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74148f",
  "rgb": {
    "r": 116,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 286.829,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.18924,
    "h": 317
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#74148F
secondary
#5AC33C
accent
#F2365F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #74148F

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

Preview Lab → · Contrast checker → · Palette generator →

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