#74228E#74228E

#74228E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.175 H 316.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#74228E
RGBrgb(116, 34, 142)
HSLhsl(286, 61%, 35%)
HSVhsv(286, 76%, 56%)
CMYKcmyk(18.3%, 76.1%, 0%, 44.3%)
CIE-LABlab(31.37, 51.14, -42.78)
CIE-LCHlch(31.37, 66.67, 320.09°)
OKLaboklab(43.11% 0.1272 -0.1204)
OKLCHoklch(43.11% 0.175 316.6)
XYZxyz(12.6562, 6.8106, 26.2338)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74228E #3C8E22
analogous
#3E228E #74228E #8E2272
triadic
#74228E #8E7422 #228E74
tetradic
#74228E #8E3E22 #3C8E22 #22728E
square
#74228E #8E3E22 #3C8E22 #22728E
split-complementary
#74228E #728E22 #228E3E
monochromatic
#230A2B #4C165D #74228E #9C2EBF #B754D6

Accessibility & contrast

On white

8.89
#74228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#74228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74228E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74228E#FFFFFF#000000##FFFFFF
##74228E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#723956
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #74228e;
/* rgb */ color: rgb(116, 34, 142);
/* oklch */ color: oklch(43.1% 0.175 316.6);
Tailwind
colors: {
  custom: {
    50: '#a066b0',
    500: '#74228e',
    950: '#000000',
  },
}
SCSS
$custom: #74228e;
$custom-light: #a066b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74228e",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 285.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43107,
    "c": 0.17513,
    "h": 316.6
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#74228E
secondary
#6BBA52
accent
#E4436A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74228E

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

Preview Lab → · Contrast checker → · Palette generator →

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