#74226C#74226C

#74226C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.145 H 332.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#74226C
RGBrgb(116, 34, 108)
HSLhsl(306, 55%, 29%)
HSVhsv(306, 71%, 45%)
CMYKcmyk(0%, 70.7%, 6.9%, 54.5%)
CIE-LABlab(29.26, 44.68, -24.75)
CIE-LCHlch(29.26, 51.07, 331.02°)
OKLaboklab(40.92% 0.1281 -0.0679)
OKLCHoklch(40.92% 0.145 332.1)
XYZxyz(10.4813, 5.9406, 14.7791)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74226C #22742A
analogous
#532274 #74226C #742243
triadic
#74226C #6C7422 #226C74
tetradic
#74226C #745322 #22742A #224374
square
#74226C #745322 #22742A #224374
split-complementary
#74226C #437422 #227453
monochromatic
#180716 #451440 #74226C #A33098 #C947BC

Accessibility & contrast

On white

9.60
#74226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#74226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74226C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74226C#FFFFFF#000000##FFFFFF
##74226C1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E6E
Deuteranopia (green-blind)
#3B496A
Tritanopia (blue-blind)
#792A44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #74226c;
/* rgb */ color: rgb(116, 34, 108);
/* oklch */ color: oklch(40.9% 0.145 332.1);
Tailwind
colors: {
  custom: {
    50: '#9f6596',
    500: '#74226c',
    950: '#000000',
  },
}
SCSS
$custom: #74226c;
$custom-light: #9f6596;
$custom-dark: #000000;
JSON
{
  "hex": "#74226c",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 305.854,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40919,
    "c": 0.14495,
    "h": 332.1
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#74226C
secondary
#4BA754
accent
#DE584A
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #74226C

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

Preview Lab → · Contrast checker → · Palette generator →

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