#74227F#74227F

#74227F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.161 H 322.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#74227F
RGBrgb(116, 34, 127)
HSLhsl(293, 58%, 32%)
HSVhsv(293, 73%, 50%)
CMYKcmyk(8.7%, 73.2%, 0%, 50.2%)
CIE-LABlab(30.38, 48.15, -35.04)
CIE-LCHlch(30.38, 59.55, 323.96°)
OKLaboklab(42.08% 0.1285 -0.0978)
OKLCHoklch(42.08% 0.161 322.7)
XYZxyz(11.6049, 6.3900, 20.6967)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74227F #2D7F22
analogous
#46227F #74227F #7F225C
triadic
#74227F #7F7422 #227F74
tetradic
#74227F #7F4622 #2D7F22 #225C7F
square
#74227F #7F4622 #2D7F22 #225C7F
split-complementary
#74227F #5C7F22 #227F46
monochromatic
#1C081E #48154F #74227F #A02FAF #C04CCF

Accessibility & contrast

On white

9.22
#74227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#74227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #74227F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74227F#FFFFFF#000000##FFFFFF
##74227F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#76334E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #74227f;
/* rgb */ color: rgb(116, 34, 127);
/* oklch */ color: oklch(42.1% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#9f66a4',
    500: '#74227f',
    950: '#000000',
  },
}
SCSS
$custom: #74227f;
$custom-light: #9f66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#74227f",
  "rgb": {
    "r": 116,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 292.903,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42079,
    "c": 0.16143,
    "h": 322.7
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#74227F
secondary
#57B24B
accent
#E14759
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #74227F

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

Preview Lab → · Contrast checker → · Palette generator →

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