#74229A#74229A

#74229A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.186 H 312.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#74229A
RGBrgb(116, 34, 154)
HSLhsl(281, 64%, 37%)
HSVhsv(281, 78%, 60%)
CMYKcmyk(24.7%, 77.9%, 0%, 39.6%)
CIE-LABlab(32.24, 53.64, -48.74)
CIE-LCHlch(32.24, 72.48, 317.74°)
OKLaboklab(43.99% 0.1252 -0.1379)
OKLCHoklch(43.99% 0.186 312.2)
XYZxyz(13.6061, 7.1905, 31.2368)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74229A #489A22
analogous
#38229A #74229A #9A2284
triadic
#74229A #9A7422 #229A74
tetradic
#74229A #9A3822 #489A22 #22849A
square
#74229A #9A3822 #489A22 #22849A
split-complementary
#74229A #849A22 #229A38
monochromatic
#280C36 #4E1768 #74229A #9A2DCC #B35BDB

Accessibility & contrast

On white

8.61
#74229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#74229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74229A
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74229A#FFFFFF#000000##FFFFFF
##74229A1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#0E4D97
Tritanopia (blue-blind)
#6F3E5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #74229a;
/* rgb */ color: rgb(116, 34, 154);
/* oklch */ color: oklch(44.0% 0.186 312.2);
Tailwind
colors: {
  custom: {
    50: '#a067b8',
    500: '#74229a',
    950: '#000000',
  },
}
SCSS
$custom: #74229a;
$custom-light: #a067b8;
$custom-dark: #000000;
JSON
{
  "hex": "#74229a",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 281,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43992,
    "c": 0.18631,
    "h": 312.2
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#74229A
secondary
#79BF58
accent
#E74175
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #74229A

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

Preview Lab → · Contrast checker → · Palette generator →

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