#74226B#74226B

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

Color values

HEX#74226B
RGBrgb(116, 34, 107)
HSLhsl(307, 55%, 29%)
HSVhsv(307, 71%, 45%)
CMYKcmyk(0%, 70.7%, 7.8%, 54.5%)
CIE-LABlab(29.21, 44.50, -24.19)
CIE-LCHlch(29.21, 50.65, 331.47°)
OKLaboklab(40.86% 0.128 -0.0663)
OKLCHoklch(40.86% 0.144 332.6)
XYZxyz(10.4284, 5.9194, 14.5004)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74226B #22742B
analogous
#542274 #74226B #742242
triadic
#74226B #6B7422 #226B74
tetradic
#74226B #745422 #22742B #224274
square
#74226B #745422 #22742B #224274
split-complementary
#74226B #427422 #227454
monochromatic
#180716 #45143F #74226B #A33097 #C947BB

Accessibility & contrast

On white

9.62
#74226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#74226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74226B
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74226B#FFFFFF#000000##FFFFFF
##74226B1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6D
Deuteranopia (green-blind)
#3B4969
Tritanopia (blue-blind)
#792A43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #74226b;
/* rgb */ color: rgb(116, 34, 107);
/* oklch */ color: oklch(40.9% 0.144 332.6);
Tailwind
colors: {
  custom: {
    50: '#9f6595',
    500: '#74226b',
    950: '#000000',
  },
}
SCSS
$custom: #74226b;
$custom-light: #9f6595;
$custom-dark: #000000;
JSON
{
  "hex": "#74226b",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 306.585,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40862,
    "c": 0.14413,
    "h": 332.6
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#74226B
secondary
#4BA755
accent
#DE5A4A
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #74226B

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

Preview Lab → · Contrast checker → · Palette generator →

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