#74227A#74227A

#74227A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.157 H 325.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#74227A
RGBrgb(116, 34, 122)
HSLhsl(296, 56%, 31%)
HSVhsv(296, 72%, 48%)
CMYKcmyk(4.9%, 72.1%, 0%, 52.2%)
CIE-LABlab(30.07, 47.20, -32.38)
CIE-LCHlch(30.07, 57.24, 325.55°)
OKLaboklab(41.76% 0.1286 -0.09)
OKLCHoklch(41.76% 0.157 325)
XYZxyz(11.2871, 6.2629, 19.0229)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74227A #287A22
analogous
#48227A #74227A #7A2254
triadic
#74227A #7A7422 #227A74
tetradic
#74227A #7A4822 #287A22 #22547A
square
#74227A #7A4822 #287A22 #22547A
split-complementary
#74227A #547A22 #227A48
monochromatic
#19071A #46154A #74227A #A22FAA #C44ACD

Accessibility & contrast

On white

9.32
#74227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#74227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74227A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74227A#FFFFFF#000000##FFFFFF
##74227A1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407C
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#77304B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74227a;
/* rgb */ color: rgb(116, 34, 122);
/* oklch */ color: oklch(41.8% 0.157 325.0);
Tailwind
colors: {
  custom: {
    50: '#9f65a1',
    500: '#74227a',
    950: '#000000',
  },
}
SCSS
$custom: #74227a;
$custom-light: #9f65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#74227a",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 295.909,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.15697,
    "h": 325
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#74227A
secondary
#52AD4B
accent
#E04852
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #74227A

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

Preview Lab → · Contrast checker → · Palette generator →

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