#74219D#74219D

#74219D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.190 H 311.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#74219D
RGBrgb(116, 33, 157)
HSLhsl(280, 65%, 37%)
HSVhsv(280, 79%, 62%)
CMYKcmyk(26.1%, 79%, 0%, 38.4%)
CIE-LABlab(32.34, 54.64, -50.40)
CIE-LCHlch(32.34, 74.34, 317.31°)
OKLaboklab(44.13% 0.1255 -0.1428)
OKLCHoklch(44.13% 0.19 311.3)
XYZxyz(13.8310, 7.2354, 32.5597)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74219D #4A9D21
analogous
#36219D #74219D #9D2188
triadic
#74219D #9D7421 #219D74
tetradic
#74219D #9D3621 #4A9D21 #21889D
square
#74219D #9D3621 #4A9D21 #21889D
split-complementary
#74219D #889D21 #219D36
monochromatic
#290C38 #4F166A #74219D #992CD0 #B25CDD

Accessibility & contrast

On white

8.58
#74219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#74219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74219D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74219D#FFFFFF#000000##FFFFFF
##74219D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#014D9A
Tritanopia (blue-blind)
#6F3F5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #74219d;
/* rgb */ color: rgb(116, 33, 157);
/* oklch */ color: oklch(44.1% 0.190 311.3);
Tailwind
colors: {
  custom: {
    50: '#a167bb',
    500: '#74219d',
    950: '#000000',
  },
}
SCSS
$custom: #74219d;
$custom-light: #a167bb;
$custom-dark: #000000;
JSON
{
  "hex": "#74219d",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 280.161,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44133,
    "c": 0.19013,
    "h": 311.3
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#74219D
secondary
#7BC159
accent
#E84077
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #74219D

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

Preview Lab → · Contrast checker → · Palette generator →

#74219D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva