#74127F#74127F

#74127F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.178 H 323.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#74127F
RGBrgb(116, 18, 127)
HSLhsl(294, 75%, 28%)
HSVhsv(294, 86%, 50%)
CMYKcmyk(8.7%, 85.8%, 0%, 50.2%)
CIE-LABlab(28.59, 53.30, -37.90)
CIE-LCHlch(28.59, 65.41, 324.59°)
OKLaboklab(40.81% 0.1424 -0.106)
OKLCHoklch(40.81% 0.178 323.3)
XYZxyz(11.2492, 5.6786, 20.5781)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74127F #1D7F12
analogous
#3D127F #74127F #7F1253
triadic
#74127F #7F7412 #127F74
tetradic
#74127F #7F3D12 #1D7F12 #12537F
square
#74127F #7F3D12 #1D7F12 #12537F
split-complementary
#74127F #537F12 #127F3D
monochromatic
#18041B #430A49 #74127F #A51AB5 #CE2BE1

Accessibility & contrast

On white

9.83
#74127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#74127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74127F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74127F#FFFFFF#000000##FFFFFF
##74127F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#762A4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #74127f;
/* rgb */ color: rgb(116, 18, 127);
/* oklch */ color: oklch(40.8% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#a05fa5',
    500: '#74127f',
    950: '#000000',
  },
}
SCSS
$custom: #74127f;
$custom-light: #a05fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#74127f",
  "rgb": {
    "r": 116,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 293.945,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.17758,
    "h": 323.3
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#74127F
secondary
#45B538
accent
#F23649
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #74127F

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

Preview Lab → · Contrast checker → · Palette generator →

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