#74126D#74126D

#74126D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.163 H 331.5°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#74126D
RGBrgb(116, 18, 109)
HSLhsl(304, 73%, 26%)
HSVhsv(304, 84%, 45%)
CMYKcmyk(0%, 84.5%, 6%, 54.5%)
CIE-LABlab(27.44, 50.21, -28.27)
CIE-LCHlch(27.44, 57.63, 330.62°)
OKLaboklab(39.63% 0.1437 -0.078)
OKLCHoklch(39.63% 0.163 331.5)
XYZxyz(10.1791, 5.2506, 14.9424)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74126D #127419
analogous
#4A1274 #74126D #74123C
triadic
#74126D #6D7412 #126D74
tetradic
#74126D #744A12 #127419 #123C74
square
#74126D #744A12 #127419 #123C74
split-complementary
#74126D #3C7412 #12744A
monochromatic
#1A0419 #3F0A3B #74126D #A91A9F #DD23D0

Accessibility & contrast

On white

10.24
#74126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74126D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74126D#FFFFFF#000000##FFFFFF
##74126D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386F
Deuteranopia (green-blind)
#34456B
Tritanopia (blue-blind)
#792040
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #74126d;
/* rgb */ color: rgb(116, 18, 109);
/* oklch */ color: oklch(39.6% 0.163 331.5);
Tailwind
colors: {
  custom: {
    50: '#a05f97',
    500: '#74126d',
    950: '#000000',
  },
}
SCSS
$custom: #74126d;
$custom-light: #a05f97;
$custom-dark: #000000;
JSON
{
  "hex": "#74126d",
  "rgb": {
    "r": 116,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 304.286,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39627,
    "c": 0.16348,
    "h": 331.5
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#74126D
secondary
#37AB3F
accent
#F04538
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #74126D

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

Preview Lab → · Contrast checker → · Palette generator →

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