#74228B#74228B

#74228B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.172 H 317.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#74228B
RGBrgb(116, 34, 139)
HSLhsl(287, 61%, 34%)
HSVhsv(287, 76%, 55%)
CMYKcmyk(16.5%, 75.5%, 0%, 45.5%)
CIE-LABlab(31.16, 50.52, -41.25)
CIE-LCHlch(31.16, 65.23, 320.77°)
OKLaboklab(42.89% 0.1275 -0.116)
OKLCHoklch(42.89% 0.172 317.7)
XYZxyz(12.4340, 6.7217, 25.0635)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74228B #398B22
analogous
#40228B #74228B #8B226E
triadic
#74228B #8B7422 #228B74
tetradic
#74228B #8B4022 #398B22 #226E8B
square
#74228B #8B4022 #398B22 #226E8B
split-complementary
#74228B #6E8B22 #228B40
monochromatic
#220A29 #4B165A #74228B #9D2EBC #B853D5

Accessibility & contrast

On white

8.96
#74228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#74228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74228B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74228B#FFFFFF#000000##FFFFFF
##74228B1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#264C89
Tritanopia (blue-blind)
#733855
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #74228b;
/* rgb */ color: rgb(116, 34, 139);
/* oklch */ color: oklch(42.9% 0.172 317.7);
Tailwind
colors: {
  custom: {
    50: '#a066ad',
    500: '#74228b',
    950: '#000000',
  },
}
SCSS
$custom: #74228b;
$custom-light: #a066ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74228b",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 286.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.17236,
    "h": 317.7
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#74228B
secondary
#67B850
accent
#E44467
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74228B

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

Preview Lab → · Contrast checker → · Palette generator →

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