#74229C#74229C

#74229C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.188 H 311.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#74229C
RGBrgb(116, 34, 156)
HSLhsl(280, 64%, 37%)
HSVhsv(280, 78%, 61%)
CMYKcmyk(25.6%, 78.2%, 0%, 38.8%)
CIE-LABlab(32.39, 54.07, -49.71)
CIE-LCHlch(32.39, 73.45, 317.40°)
OKLaboklab(44.14% 0.1248 -0.1408)
OKLCHoklch(44.14% 0.188 311.6)
XYZxyz(13.7741, 7.2577, 32.1213)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74229C #4A9C22
analogous
#37229C #74229C #9C2287
triadic
#74229C #9C7422 #229C74
tetradic
#74229C #9C3722 #4A9C22 #22879C
square
#74229C #9C3722 #4A9C22 #22879C
split-complementary
#74229C #879C22 #229C37
monochromatic
#290C38 #4F176A #74229C #992DCE #B25DDC

Accessibility & contrast

On white

8.57
#74229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#74229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74229C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74229C#FFFFFF#000000##FFFFFF
##74229C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#074E99
Tritanopia (blue-blind)
#6F3F5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #74229c;
/* rgb */ color: rgb(116, 34, 156);
/* oklch */ color: oklch(44.1% 0.188 311.6);
Tailwind
colors: {
  custom: {
    50: '#a067ba',
    500: '#74229c',
    950: '#000000',
  },
}
SCSS
$custom: #74229c;
$custom-light: #a067ba;
$custom-dark: #000000;
JSON
{
  "hex": "#74229c",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 280.328,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.18818,
    "h": 311.6
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#74229C
secondary
#7BC05A
accent
#E74177
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #74229C

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

Preview Lab → · Contrast checker → · Palette generator →

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