#74226E#74226E

#74226E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.147 H 331.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#74226E
RGBrgb(116, 34, 110)
HSLhsl(304, 55%, 29%)
HSVhsv(304, 71%, 45%)
CMYKcmyk(0%, 70.7%, 5.2%, 54.5%)
CIE-LABlab(29.37, 45.02, -25.86)
CIE-LCHlch(29.37, 51.92, 330.13°)
OKLaboklab(41.03% 0.1282 -0.0711)
OKLCHoklch(41.03% 0.147 331)
XYZxyz(10.5889, 5.9837, 15.3461)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74226E #227428
analogous
#512274 #74226E #742245
triadic
#74226E #6E7422 #226E74
tetradic
#74226E #745122 #227428 #224574
square
#74226E #745122 #227428 #224574
split-complementary
#74226E #457422 #227451
monochromatic
#180716 #451441 #74226E #A3309B #C947C0

Accessibility & contrast

On white

9.56
#74226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#74226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74226E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74226E#FFFFFF#000000##FFFFFF
##74226E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#792B45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #74226e;
/* rgb */ color: rgb(116, 34, 110);
/* oklch */ color: oklch(41.0% 0.147 331.0);
Tailwind
colors: {
  custom: {
    50: '#9f6598',
    500: '#74226e',
    950: '#000000',
  },
}
SCSS
$custom: #74226e;
$custom-light: #9f6598;
$custom-dark: #000000;
JSON
{
  "hex": "#74226e",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 304.39,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41033,
    "c": 0.14661,
    "h": 331
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#74226E
secondary
#4BA751
accent
#DE554A
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #74226E

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

Preview Lab → · Contrast checker → · Palette generator →

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