#74126A#74126A

#74126A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.161 H 333.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#74126A
RGBrgb(116, 18, 106)
HSLhsl(306, 73%, 26%)
HSVhsv(306, 84%, 45%)
CMYKcmyk(0%, 84.5%, 8.6%, 54.5%)
CIE-LABlab(27.26, 49.73, -26.61)
CIE-LCHlch(27.26, 56.40, 331.85°)
OKLaboklab(39.45% 0.1437 -0.0732)
OKLCHoklch(39.45% 0.161 333)
XYZxyz(10.0204, 5.1871, 14.1063)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74126A #12741C
analogous
#4D1274 #74126A #741239
triadic
#74126A #6A7412 #126A74
tetradic
#74126A #744D12 #12741C #123974
square
#74126A #744D12 #12741C #123974
split-complementary
#74126A #397412 #12744D
monochromatic
#1A0418 #3F0A3A #74126A #A91A9A #DD23CA

Accessibility & contrast

On white

10.31
#74126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#74126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74126A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74126A#FFFFFF#000000##FFFFFF
##74126A1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B386C
Deuteranopia (green-blind)
#364568
Tritanopia (blue-blind)
#7A1E3E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #74126a;
/* rgb */ color: rgb(116, 18, 106);
/* oklch */ color: oklch(39.4% 0.161 333.0);
Tailwind
colors: {
  custom: {
    50: '#a05e95',
    500: '#74126a',
    950: '#000000',
  },
}
SCSS
$custom: #74126a;
$custom-light: #a05e95;
$custom-dark: #000000;
JSON
{
  "hex": "#74126a",
  "rgb": {
    "r": 116,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 306.122,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39445,
    "c": 0.16123,
    "h": 333
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#74126A
secondary
#37AB43
accent
#F04B38
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #74126A

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

Preview Lab → · Contrast checker → · Palette generator →

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