#74218E#74218E

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

Color values

HEX#74218E
RGBrgb(116, 33, 142)
HSLhsl(286, 62%, 34%)
HSVhsv(286, 77%, 56%)
CMYKcmyk(18.3%, 76.8%, 0%, 44.3%)
CIE-LABlab(31.24, 51.51, -42.99)
CIE-LCHlch(31.24, 67.09, 320.15°)
OKLaboklab(43.01% 0.1281 -0.121)
OKLCHoklch(43.01% 0.176 316.6)
XYZxyz(12.6281, 6.7542, 26.2245)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74218E #3B8E21
analogous
#3E218E #74218E #8E2172
triadic
#74218E #8E7421 #218E74
tetradic
#74218E #8E3E21 #3B8E21 #21728E
square
#74218E #8E3E21 #3B8E21 #21728E
split-complementary
#74218E #728E21 #218E3E
monochromatic
#230A2B #4B155C #74218E #9D2DC0 #B752D7

Accessibility & contrast

On white

8.93
#74218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#74218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74218E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74218E#FFFFFF#000000##FFFFFF
##74218E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#723956
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #74218e;
/* rgb */ color: rgb(116, 33, 142);
/* oklch */ color: oklch(43.0% 0.176 316.6);
Tailwind
colors: {
  custom: {
    50: '#a066b0',
    500: '#74218e',
    950: '#000000',
  },
}
SCSS
$custom: #74218e;
$custom-light: #a066b0;
$custom-dark: #000000;
JSON
{
  "hex": "#74218e",
  "rgb": {
    "r": 116,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 285.688,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.17625,
    "h": 316.6
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#74218E
secondary
#6ABA50
accent
#E54269
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #74218E

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

Preview Lab → · Contrast checker → · Palette generator →

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