#74228C#74228C

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

Color values

HEX#74228C
RGBrgb(116, 34, 140)
HSLhsl(286, 61%, 34%)
HSVhsv(286, 76%, 55%)
CMYKcmyk(17.1%, 75.7%, 0%, 45.1%)
CIE-LABlab(31.23, 50.73, -41.76)
CIE-LCHlch(31.23, 65.71, 320.54°)
OKLaboklab(42.96% 0.1274 -0.1175)
OKLCHoklch(42.96% 0.173 317.3)
XYZxyz(12.5074, 6.7510, 25.4501)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74228C #3A8C22
analogous
#3F228C #74228C #8C226F
triadic
#74228C #8C7422 #228C74
tetradic
#74228C #8C3F22 #3A8C22 #226F8C
square
#74228C #8C3F22 #3A8C22 #226F8C
split-complementary
#74228C #6F8C22 #228C3F
monochromatic
#220A2A #4B165B #74228C #9D2EBD #B853D5

Accessibility & contrast

On white

8.94
#74228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#74228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74228C
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74228C#FFFFFF#000000##FFFFFF
##74228C1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#254C8A
Tritanopia (blue-blind)
#733855
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #74228c;
/* rgb */ color: rgb(116, 34, 140);
/* oklch */ color: oklch(43.0% 0.173 317.3);
Tailwind
colors: {
  custom: {
    50: '#a066ae',
    500: '#74228c',
    950: '#000000',
  },
}
SCSS
$custom: #74228c;
$custom-light: #a066ae;
$custom-dark: #000000;
JSON
{
  "hex": "#74228c",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 286.415,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42964,
    "c": 0.17328,
    "h": 317.3
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#74228C
secondary
#68B951
accent
#E44468
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74228C

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

Preview Lab → · Contrast checker → · Palette generator →

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