#74229E#74229E

#74229E is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.190 H 310.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#74229E
RGBrgb(116, 34, 158)
HSLhsl(280, 65%, 38%)
HSVhsv(280, 78%, 62%)
CMYKcmyk(26.6%, 78.5%, 0%, 38%)
CIE-LABlab(32.54, 54.50, -50.68)
CIE-LCHlch(32.54, 74.42, 317.08°)
OKLaboklab(44.3% 0.1244 -0.1437)
OKLCHoklch(44.3% 0.19 310.9)
XYZxyz(13.9449, 7.3260, 33.0206)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74229E #4C9E22
analogous
#36229E #74229E #9E228A
triadic
#74229E #9E7422 #229E74
tetradic
#74229E #9E3622 #4C9E22 #228A9E
square
#74229E #9E3622 #4C9E22 #228A9E
split-complementary
#74229E #8A9E22 #229E36
monochromatic
#2A0C39 #4F176C #74229E #992DD0 #B25EDC

Accessibility & contrast

On white

8.52
#74229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#74229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74229E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74229E#FFFFFF#000000##FFFFFF
##74229E1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#6E4060
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #74229e;
/* rgb */ color: rgb(116, 34, 158);
/* oklch */ color: oklch(44.3% 0.190 310.9);
Tailwind
colors: {
  custom: {
    50: '#a167bb',
    500: '#74229e',
    950: '#000000',
  },
}
SCSS
$custom: #74229e;
$custom-light: #a167bb;
$custom-dark: #000000;
JSON
{
  "hex": "#74229e",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 279.677,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44298,
    "c": 0.19006,
    "h": 310.9
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#74229E
secondary
#7DC15B
accent
#E84079
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #74229E

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

Preview Lab → · Contrast checker → · Palette generator →

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