#74277C#74277C

#74277C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.152 H 323.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#74277C
RGBrgb(116, 39, 124)
HSLhsl(294, 52%, 32%)
HSVhsv(294, 69%, 49%)
CMYKcmyk(6.5%, 68.5%, 0%, 51.4%)
CIE-LABlab(30.93, 45.50, -32.28)
CIE-LCHlch(30.93, 55.79, 324.65°)
OKLaboklab(42.42% 0.1228 -0.0898)
OKLCHoklch(42.42% 0.152 323.8)
XYZxyz(11.5657, 6.6200, 19.7335)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74277C #2F7C27
analogous
#4A277C #74277C #7C275A
triadic
#74277C #7C7427 #277C74
tetradic
#74277C #7C4A27 #2F7C27 #275A7C
square
#74277C #7C4A27 #2F7C27 #275A7C
split-complementary
#74277C #5A7C27 #277C4A
monochromatic
#1D0A1F #48184D #74277C #A036AB #BE54C9

Accessibility & contrast

On white

9.04
#74277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#74277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74277C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74277C#FFFFFF#000000##FFFFFF
##74277C1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13437E
Deuteranopia (green-blind)
#354C7A
Tritanopia (blue-blind)
#76344E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #74277c;
/* rgb */ color: rgb(116, 39, 124);
/* oklch */ color: oklch(42.4% 0.152 323.8);
Tailwind
colors: {
  custom: {
    50: '#9f68a2',
    500: '#74277c',
    950: '#000000',
  },
}
SCSS
$custom: #74277c;
$custom-light: #9f68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74277c",
  "rgb": {
    "r": 116,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 294.353,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.15215,
    "h": 323.8
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#74277C
secondary
#5AAE51
accent
#DC4C5A
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74277C

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

Preview Lab → · Contrast checker → · Palette generator →

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