#74227E#74227E

#74227E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.161 H 323.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#74227E
RGBrgb(116, 34, 126)
HSLhsl(293, 58%, 31%)
HSVhsv(293, 73%, 49%)
CMYKcmyk(7.9%, 73%, 0%, 50.6%)
CIE-LABlab(30.31, 47.96, -34.51)
CIE-LCHlch(30.31, 59.09, 324.26°)
OKLaboklab(42.01% 0.1285 -0.0962)
OKLCHoklch(42.01% 0.161 323.2)
XYZxyz(11.5400, 6.3641, 20.3552)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74227E #2C7E22
analogous
#46227E #74227E #7E225A
triadic
#74227E #7E7422 #227E74
tetradic
#74227E #7E4622 #2C7E22 #225A7E
square
#74227E #7E4622 #2C7E22 #225A7E
split-complementary
#74227E #5A7E22 #227E46
monochromatic
#1B081E #48154E #74227E #A02FAE #C04CCF

Accessibility & contrast

On white

9.24
#74227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#74227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74227E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74227E#FFFFFF#000000##FFFFFF
##74227E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024181
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#76324E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74227e;
/* rgb */ color: rgb(116, 34, 126);
/* oklch */ color: oklch(42.0% 0.161 323.2);
Tailwind
colors: {
  custom: {
    50: '#9f66a4',
    500: '#74227e',
    950: '#000000',
  },
}
SCSS
$custom: #74227e;
$custom-light: #9f66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74227e",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 293.478,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.16054,
    "h": 323.2
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#74227E
secondary
#56B14B
accent
#E14758
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74227E

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

Preview Lab → · Contrast checker → · Palette generator →

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