#74126F#74126F

#74126F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.165 H 330.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#74126F
RGBrgb(116, 18, 111)
HSLhsl(303, 73%, 26%)
HSVhsv(303, 84%, 45%)
CMYKcmyk(0%, 84.5%, 4.3%, 54.5%)
CIE-LABlab(27.56, 50.54, -29.37)
CIE-LCHlch(27.56, 58.45, 329.84°)
OKLaboklab(39.75% 0.1437 -0.0812)
OKLCHoklch(39.75% 0.165 330.5)
XYZxyz(10.2880, 5.2942, 15.5159)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74126F #127417
analogous
#481274 #74126F #74123E
triadic
#74126F #6F7412 #126F74
tetradic
#74126F #744812 #127417 #123E74
square
#74126F #744812 #127417 #123E74
split-complementary
#74126F #3E7412 #127448
monochromatic
#1A0419 #3F0A3C #74126F #A91AA2 #DD23D3

Accessibility & contrast

On white

10.20
#74126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#74126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74126F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74126F#FFFFFF#000000##FFFFFF
##74126F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#33466D
Tritanopia (blue-blind)
#792141
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #74126f;
/* rgb */ color: rgb(116, 18, 111);
/* oklch */ color: oklch(39.8% 0.165 330.5);
Tailwind
colors: {
  custom: {
    50: '#a05f99',
    500: '#74126f',
    950: '#000000',
  },
}
SCSS
$custom: #74126f;
$custom-light: #a05f99;
$custom-dark: #000000;
JSON
{
  "hex": "#74126f",
  "rgb": {
    "r": 116,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 303.061,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39751,
    "c": 0.165,
    "h": 330.5
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#74126F
secondary
#37AB3D
accent
#F04138
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #74126F

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

Preview Lab → · Contrast checker → · Palette generator →

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