#74227C#74227C

#74227C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.159 H 324.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#74227C
RGBrgb(116, 34, 124)
HSLhsl(295, 57%, 31%)
HSVhsv(295, 73%, 49%)
CMYKcmyk(6.5%, 72.6%, 0%, 51.4%)
CIE-LABlab(30.19, 47.58, -33.45)
CIE-LCHlch(30.19, 58.16, 324.89°)
OKLaboklab(41.89% 0.1286 -0.0931)
OKLCHoklch(41.89% 0.159 324.1)
XYZxyz(11.4123, 6.3130, 19.6823)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74227C #2A7C22
analogous
#47227C #74227C #7C2257
triadic
#74227C #7C7422 #227C74
tetradic
#74227C #7C4722 #2A7C22 #22577C
square
#74227C #7C4722 #2A7C22 #22577C
split-complementary
#74227C #577C22 #227C47
monochromatic
#1A081C #47154C #74227C #A12FAC #C24BCE

Accessibility & contrast

On white

9.28
#74227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#74227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74227C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74227C#FFFFFF#000000##FFFFFF
##74227C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07417F
Deuteranopia (green-blind)
#324A7A
Tritanopia (blue-blind)
#76314C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74227c;
/* rgb */ color: rgb(116, 34, 124);
/* oklch */ color: oklch(41.9% 0.159 324.1);
Tailwind
colors: {
  custom: {
    50: '#9f65a2',
    500: '#74227c',
    950: '#000000',
  },
}
SCSS
$custom: #74227c;
$custom-light: #9f65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#74227c",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 294.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41885,
    "c": 0.15875,
    "h": 324.1
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#74227C
secondary
#54AF4B
accent
#E04855
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74227C

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

Preview Lab → · Contrast checker → · Palette generator →

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