#74226F#74226F

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

Color values

HEX#74226F
RGBrgb(116, 34, 111)
HSLhsl(304, 55%, 29%)
HSVhsv(304, 71%, 45%)
CMYKcmyk(0%, 70.7%, 4.3%, 54.5%)
CIE-LABlab(29.43, 45.20, -26.41)
CIE-LCHlch(29.43, 52.35, 329.70°)
OKLaboklab(41.09% 0.1283 -0.0727)
OKLCHoklch(41.09% 0.147 330.5)
XYZxyz(10.6437, 6.0056, 15.6344)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74226F #227427
analogous
#502274 #74226F #742246
triadic
#74226F #6F7422 #226F74
tetradic
#74226F #745022 #227427 #224674
square
#74226F #745022 #227427 #224674
split-complementary
#74226F #467422 #227450
monochromatic
#180717 #451442 #74226F #A3309C #C947C1

Accessibility & contrast

On white

9.54
#74226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74226F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74226F#FFFFFF#000000##FFFFFF
##74226F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #74226f;
/* rgb */ color: rgb(116, 34, 111);
/* oklch */ color: oklch(41.1% 0.147 330.5);
Tailwind
colors: {
  custom: {
    50: '#9f6598',
    500: '#74226f',
    950: '#000000',
  },
}
SCSS
$custom: #74226f;
$custom-light: #9f6598;
$custom-dark: #000000;
JSON
{
  "hex": "#74226f",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 303.659,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41091,
    "c": 0.14746,
    "h": 330.5
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#74226F
secondary
#4BA750
accent
#DE534A
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #74226F

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

Preview Lab → · Contrast checker → · Palette generator →

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