#74126C#74126C

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

Color values

HEX#74126C
RGBrgb(116, 18, 108)
HSLhsl(305, 73%, 26%)
HSVhsv(305, 84%, 45%)
CMYKcmyk(0%, 84.5%, 6.9%, 54.5%)
CIE-LABlab(27.38, 50.05, -27.72)
CIE-LCHlch(27.38, 57.22, 331.02°)
OKLaboklab(39.57% 0.1437 -0.0764)
OKLCHoklch(39.57% 0.163 332)
XYZxyz(10.1256, 5.2292, 14.6605)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74126C #12741A
analogous
#4B1274 #74126C #74123B
triadic
#74126C #6C7412 #126C74
tetradic
#74126C #744B12 #12741A #123B74
square
#74126C #744B12 #12741A #123B74
split-complementary
#74126C #3B7412 #12744B
monochromatic
#1A0419 #3F0A3B #74126C #A91A9D #DD23CE

Accessibility & contrast

On white

10.27
#74126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74126C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74126C#FFFFFF#000000##FFFFFF
##74126C1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07386E
Deuteranopia (green-blind)
#35456A
Tritanopia (blue-blind)
#792040
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #74126c;
/* rgb */ color: rgb(116, 18, 108);
/* oklch */ color: oklch(39.6% 0.163 332.0);
Tailwind
colors: {
  custom: {
    50: '#a05e96',
    500: '#74126c',
    950: '#000000',
  },
}
SCSS
$custom: #74126c;
$custom-light: #a05e96;
$custom-dark: #000000;
JSON
{
  "hex": "#74126c",
  "rgb": {
    "r": 116,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 304.898,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39566,
    "c": 0.16273,
    "h": 332
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#74126C
secondary
#37AB41
accent
#F04738
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #74126C

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

Preview Lab → · Contrast checker → · Palette generator →

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