#74229D#74229D

#74229D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.189 H 311.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#74229D
RGBrgb(116, 34, 157)
HSLhsl(280, 64%, 37%)
HSVhsv(280, 78%, 62%)
CMYKcmyk(26.1%, 78.3%, 0%, 38.4%)
CIE-LABlab(32.46, 54.28, -50.20)
CIE-LCHlch(32.46, 73.94, 317.24°)
OKLaboklab(44.22% 0.1246 -0.1422)
OKLCHoklch(44.22% 0.189 311.2)
XYZxyz(13.8591, 7.2917, 32.5691)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74229D #4B9D22
analogous
#36229D #74229D #9D2289
triadic
#74229D #9D7422 #229D74
tetradic
#74229D #9D3622 #4B9D22 #22899D
square
#74229D #9D3622 #4B9D22 #22899D
split-complementary
#74229D #899D22 #229D36
monochromatic
#2A0C38 #4F176B #74229D #992DCF #B25DDC

Accessibility & contrast

On white

8.54
#74229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#74229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74229D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74229D#FFFFFF#000000##FFFFFF
##74229D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#034E9A
Tritanopia (blue-blind)
#6F405F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #74229d;
/* rgb */ color: rgb(116, 34, 157);
/* oklch */ color: oklch(44.2% 0.189 311.2);
Tailwind
colors: {
  custom: {
    50: '#a167bb',
    500: '#74229d',
    950: '#000000',
  },
}
SCSS
$custom: #74229d;
$custom-light: #a167bb;
$custom-dark: #000000;
JSON
{
  "hex": "#74229d",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 280,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44221,
    "c": 0.18912,
    "h": 311.2
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#74229D
secondary
#7CC15A
accent
#E74078
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #74229D

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

Preview Lab → · Contrast checker → · Palette generator →

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