#74126E#74126E

#74126E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.164 H 331.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#74126E
RGBrgb(116, 18, 110)
HSLhsl(304, 73%, 26%)
HSVhsv(304, 84%, 45%)
CMYKcmyk(0%, 84.5%, 5.2%, 54.5%)
CIE-LABlab(27.50, 50.38, -28.82)
CIE-LCHlch(27.50, 58.04, 330.23°)
OKLaboklab(39.69% 0.1437 -0.0796)
OKLCHoklch(39.69% 0.164 331)
XYZxyz(10.2332, 5.2723, 15.2275)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74126E #127418
analogous
#491274 #74126E #74123D
triadic
#74126E #6E7412 #126E74
tetradic
#74126E #744912 #127418 #123D74
square
#74126E #744912 #127418 #123D74
split-complementary
#74126E #3D7412 #127449
monochromatic
#1A0419 #3F0A3C #74126E #A91AA0 #DD23D2

Accessibility & contrast

On white

10.22
#74126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#74126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74126E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74126E#FFFFFF#000000##FFFFFF
##74126E1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033870
Deuteranopia (green-blind)
#34466C
Tritanopia (blue-blind)
#792141
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #74126e;
/* rgb */ color: rgb(116, 18, 110);
/* oklch */ color: oklch(39.7% 0.164 331.0);
Tailwind
colors: {
  custom: {
    50: '#a05f98',
    500: '#74126e',
    950: '#000000',
  },
}
SCSS
$custom: #74126e;
$custom-light: #a05f98;
$custom-dark: #000000;
JSON
{
  "hex": "#74126e",
  "rgb": {
    "r": 116,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 303.673,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39689,
    "c": 0.16424,
    "h": 331
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#74126E
secondary
#37AB3E
accent
#F04338
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #74126E

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

Preview Lab → · Contrast checker → · Palette generator →

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