#74127E#74127E

#74127E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.177 H 323.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#74127E
RGBrgb(116, 18, 126)
HSLhsl(294, 75%, 28%)
HSVhsv(294, 86%, 49%)
CMYKcmyk(7.9%, 85.7%, 0%, 50.6%)
CIE-LABlab(28.52, 53.12, -37.38)
CIE-LCHlch(28.52, 64.96, 324.87°)
OKLaboklab(40.74% 0.1426 -0.1045)
OKLCHoklch(40.74% 0.177 323.8)
XYZxyz(11.1843, 5.6527, 20.2366)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74127E #1C7E12
analogous
#3E127E #74127E #7E1252
triadic
#74127E #7E7412 #127E74
tetradic
#74127E #7E3E12 #1C7E12 #12527E
square
#74127E #7E3E12 #1C7E12 #12527E
split-complementary
#74127E #527E12 #127E3E
monochromatic
#19041B #430A48 #74127E #A51AB4 #D02AE1

Accessibility & contrast

On white

9.86
#74127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#74127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74127E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74127E#FFFFFF#000000##FFFFFF
##74127E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#762A4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #74127e;
/* rgb */ color: rgb(116, 18, 126);
/* oklch */ color: oklch(40.7% 0.177 323.8);
Tailwind
colors: {
  custom: {
    50: '#a05fa4',
    500: '#74127e',
    950: '#000000',
  },
}
SCSS
$custom: #74127e;
$custom-light: #a05fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#74127e",
  "rgb": {
    "r": 116,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 294.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.17678,
    "h": 323.8
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#74127E
secondary
#43B438
accent
#F23648
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74127E

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

Preview Lab → · Contrast checker → · Palette generator →

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