#74228D#74228D

#74228D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.174 H 316.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#74228D
RGBrgb(116, 34, 141)
HSLhsl(286, 61%, 34%)
HSVhsv(286, 76%, 55%)
CMYKcmyk(17.7%, 75.9%, 0%, 44.7%)
CIE-LABlab(31.30, 50.93, -42.27)
CIE-LCHlch(31.30, 66.19, 320.31°)
OKLaboklab(43.04% 0.1273 -0.1189)
OKLCHoklch(43.04% 0.174 316.9)
XYZxyz(12.5815, 6.7807, 25.8402)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74228D #3B8D22
analogous
#3E228D #74228D #8D2271
triadic
#74228D #8D7422 #228D74
tetradic
#74228D #8D3E22 #3B8D22 #22718D
square
#74228D #8D3E22 #3B8D22 #22718D
split-complementary
#74228D #718D22 #228D3E
monochromatic
#230A2A #4B165C #74228D #9D2EBE #B754D6

Accessibility & contrast

On white

8.91
#74228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#74228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74228D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74228D#FFFFFF#000000##FFFFFF
##74228D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#733956
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74228d;
/* rgb */ color: rgb(116, 34, 141);
/* oklch */ color: oklch(43.0% 0.174 316.9);
Tailwind
colors: {
  custom: {
    50: '#a066af',
    500: '#74228d',
    950: '#000000',
  },
}
SCSS
$custom: #74228d;
$custom-light: #a066af;
$custom-dark: #000000;
JSON
{
  "hex": "#74228d",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 285.981,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43035,
    "c": 0.1742,
    "h": 316.9
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#74228D
secondary
#6AB951
accent
#E44469
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74228D

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

Preview Lab → · Contrast checker → · Palette generator →

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