#74229B#74229B

#74229B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.187 H 311.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#74229B
RGBrgb(116, 34, 155)
HSLhsl(281, 64%, 37%)
HSVhsv(281, 78%, 61%)
CMYKcmyk(25.2%, 78.1%, 0%, 39.2%)
CIE-LABlab(32.31, 53.85, -49.23)
CIE-LCHlch(32.31, 72.96, 317.57°)
OKLaboklab(44.07% 0.125 -0.1394)
OKLCHoklch(44.07% 0.187 311.9)
XYZxyz(13.6898, 7.2240, 31.6772)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74229B #499B22
analogous
#38229B #74229B #9B2286
triadic
#74229B #9B7422 #229B74
tetradic
#74229B #9B3822 #499B22 #22869B
square
#74229B #9B3822 #499B22 #22869B
split-complementary
#74229B #869B22 #229B38
monochromatic
#290C37 #4E1769 #74229B #9A2DCD #B25CDB

Accessibility & contrast

On white

8.59
#74229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#74229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74229B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74229B#FFFFFF#000000##FFFFFF
##74229B1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#0B4E98
Tritanopia (blue-blind)
#6F3F5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #74229b;
/* rgb */ color: rgb(116, 34, 155);
/* oklch */ color: oklch(44.1% 0.187 311.9);
Tailwind
colors: {
  custom: {
    50: '#a067b9',
    500: '#74229b',
    950: '#000000',
  },
}
SCSS
$custom: #74229b;
$custom-light: #a067b9;
$custom-dark: #000000;
JSON
{
  "hex": "#74229b",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 280.661,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44068,
    "c": 0.18724,
    "h": 311.9
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#74229B
secondary
#7AC059
accent
#E74176
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #74229B

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

Preview Lab → · Contrast checker → · Palette generator →

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