#74228F#74228F

#74228F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.176 H 316.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#74228F
RGBrgb(116, 34, 143)
HSLhsl(285, 62%, 35%)
HSVhsv(285, 76%, 56%)
CMYKcmyk(18.9%, 76.2%, 0%, 43.9%)
CIE-LABlab(31.44, 51.34, -43.28)
CIE-LCHlch(31.44, 67.15, 319.87°)
OKLaboklab(43.18% 0.127 -0.1219)
OKLCHoklch(43.18% 0.176 316.2)
XYZxyz(12.7316, 6.8407, 26.6310)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74228F #3D8F22
analogous
#3E228F #74228F #8F2273
triadic
#74228F #8F7422 #228F74
tetradic
#74228F #8F3E22 #3D8F22 #22738F
square
#74228F #8F3E22 #3D8F22 #22738F
split-complementary
#74228F #738F22 #228F3E
monochromatic
#240A2C #4C165E #74228F #9C2EC0 #B655D7

Accessibility & contrast

On white

8.87
#74228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#74228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74228F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74228F#FFFFFF#000000##FFFFFF
##74228F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#214C8D
Tritanopia (blue-blind)
#723A57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74228f;
/* rgb */ color: rgb(116, 34, 143);
/* oklch */ color: oklch(43.2% 0.176 316.2);
Tailwind
colors: {
  custom: {
    50: '#a066b0',
    500: '#74228f',
    950: '#000000',
  },
}
SCSS
$custom: #74228f;
$custom-light: #a066b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74228f",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 285.138,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43178,
    "c": 0.17605,
    "h": 316.2
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#74228F
secondary
#6CBA52
accent
#E5436B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #74228F

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

Preview Lab → · Contrast checker → · Palette generator →

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