#74229F#74229F

#74229F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.191 H 310.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#74229F
RGBrgb(116, 34, 159)
HSLhsl(279, 65%, 38%)
HSVhsv(279, 79%, 62%)
CMYKcmyk(27%, 78.6%, 0%, 37.6%)
CIE-LABlab(32.61, 54.71, -51.17)
CIE-LCHlch(32.61, 74.91, 316.92°)
OKLaboklab(44.38% 0.1242 -0.1451)
OKLCHoklch(44.38% 0.191 310.6)
XYZxyz(14.0313, 7.3606, 33.4758)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74229F #4D9F22
analogous
#35229F #74229F #9F228B
triadic
#74229F #9F7422 #229F74
tetradic
#74229F #9F3522 #4D9F22 #228B9F
square
#74229F #9F3522 #4D9F22 #228B9F
split-complementary
#74229F #8B9F22 #229F35
monochromatic
#2A0C3A #4F176D #74229F #992DD1 #B15FDD

Accessibility & contrast

On white

8.50
#74229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #74229F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74229F#FFFFFF#000000##FFFFFF
##74229F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#6E4160
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #74229f;
/* rgb */ color: rgb(116, 34, 159);
/* oklch */ color: oklch(44.4% 0.191 310.6);
Tailwind
colors: {
  custom: {
    50: '#a167bc',
    500: '#74229f',
    950: '#000000',
  },
}
SCSS
$custom: #74229f;
$custom-light: #a167bc;
$custom-dark: #000000;
JSON
{
  "hex": "#74229f",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 279.36,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44376,
    "c": 0.19099,
    "h": 310.6
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#74229F
secondary
#7EC15B
accent
#E8407A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #74229F

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

Preview Lab → · Contrast checker → · Palette generator →

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