#74158F#74158F

#74158F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.2% C 0.188 H 316.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#74158F
RGBrgb(116, 21, 143)
HSLhsl(287, 74%, 32%)
HSVhsv(287, 85%, 56%)
CMYKcmyk(18.9%, 85.3%, 0%, 43.9%)
CIE-LABlab(29.99, 55.53, -45.62)
CIE-LCHlch(29.99, 71.87, 320.60°)
OKLaboklab(42.16% 0.1377 -0.1287)
OKLCHoklch(42.16% 0.188 316.9)
XYZxyz(12.4278, 6.2331, 26.5297)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74158F #308F15
analogous
#37158F #74158F #8F156D
triadic
#74158F #8F7415 #158F74
tetradic
#74158F #8F3715 #308F15 #156D8F
square
#74158F #8F3715 #308F15 #156D8F
split-complementary
#74158F #6D8F15 #158F37
monochromatic
#1D0524 #490D5A #74158F #9F1DC4 #BE3CE2

Accessibility & contrast

On white

9.35
#74158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#74158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74158F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74158F#FFFFFF#000000##FFFFFF
##74158F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#16498D
Tritanopia (blue-blind)
#723454
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74158f;
/* rgb */ color: rgb(116, 21, 143);
/* oklch */ color: oklch(42.2% 0.188 316.9);
Tailwind
colors: {
  custom: {
    50: '#a061b0',
    500: '#74158f',
    950: '#000000',
  },
}
SCSS
$custom: #74158f;
$custom-light: #a061b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74158f",
  "rgb": {
    "r": 116,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 286.721,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.18847,
    "h": 316.9
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#74158F
secondary
#5BC23E
accent
#F13760
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #74158F

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

Preview Lab → · Contrast checker → · Palette generator →

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