#74227D#74227D

#74227D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.160 H 323.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#74227D
RGBrgb(116, 34, 125)
HSLhsl(294, 57%, 31%)
HSVhsv(294, 73%, 49%)
CMYKcmyk(7.2%, 72.8%, 0%, 51%)
CIE-LABlab(30.25, 47.77, -33.98)
CIE-LCHlch(30.25, 58.62, 324.58°)
OKLaboklab(41.95% 0.1285 -0.0947)
OKLCHoklch(41.95% 0.16 323.6)
XYZxyz(11.4758, 6.3384, 20.0170)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74227D #2B7D22
analogous
#46227D #74227D #7D2258
triadic
#74227D #7D7422 #227D74
tetradic
#74227D #7D4622 #2B7D22 #22587D
square
#74227D #7D4622 #2B7D22 #22587D
split-complementary
#74227D #587D22 #227D46
monochromatic
#1B081D #47154D #74227D #A12FAD #C14BCE

Accessibility & contrast

On white

9.26
#74227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74227D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74227D#FFFFFF#000000##FFFFFF
##74227D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054180
Deuteranopia (green-blind)
#314A7B
Tritanopia (blue-blind)
#76324D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74227d;
/* rgb */ color: rgb(116, 34, 125);
/* oklch */ color: oklch(41.9% 0.160 323.6);
Tailwind
colors: {
  custom: {
    50: '#9f65a3',
    500: '#74227d',
    950: '#000000',
  },
}
SCSS
$custom: #74227d;
$custom-light: #9f65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#74227d",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 294.066,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4195,
    "c": 0.15964,
    "h": 323.6
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#74227D
secondary
#55B04B
accent
#E04756
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74227D

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

Preview Lab → · Contrast checker → · Palette generator →

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