#74228A#74228A

#74228A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.171 H 318.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#74228A
RGBrgb(116, 34, 138)
HSLhsl(287, 60%, 34%)
HSVhsv(287, 75%, 54%)
CMYKcmyk(15.9%, 75.4%, 0%, 45.9%)
CIE-LABlab(31.10, 50.32, -40.74)
CIE-LCHlch(31.10, 64.75, 321.00°)
OKLaboklab(42.82% 0.1276 -0.1145)
OKLCHoklch(42.82% 0.171 318.1)
XYZxyz(12.3613, 6.6926, 24.6805)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74228A #388A22
analogous
#40228A #74228A #8A226C
triadic
#74228A #8A7422 #228A74
tetradic
#74228A #8A4022 #388A22 #226C8A
square
#74228A #8A4022 #388A22 #226C8A
split-complementary
#74228A #6C8A22 #228A40
monochromatic
#210A28 #4B1659 #74228A #9D2EBB #B952D4

Accessibility & contrast

On white

8.98
#74228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#74228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74228A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74228A#FFFFFF#000000##FFFFFF
##74228A1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#274C88
Tritanopia (blue-blind)
#733754
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #74228a;
/* rgb */ color: rgb(116, 34, 138);
/* oklch */ color: oklch(42.8% 0.171 318.1);
Tailwind
colors: {
  custom: {
    50: '#a066ad',
    500: '#74228a',
    950: '#000000',
  },
}
SCSS
$custom: #74228a;
$custom-light: #a066ad;
$custom-dark: #000000;
JSON
{
  "hex": "#74228a",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 287.308,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42824,
    "c": 0.17144,
    "h": 318.1
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#74228A
secondary
#66B850
accent
#E44466
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74228A

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

Preview Lab → · Contrast checker → · Palette generator →

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