#7C2291#7C2291

#7C2291 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.181 H 319.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7C2291
RGBrgb(124, 34, 145)
HSLhsl(289, 62%, 35%)
HSVhsv(289, 77%, 57%)
CMYKcmyk(14.5%, 76.6%, 0%, 43.1%)
CIE-LABlab(32.86, 53.41, -42.16)
CIE-LCHlch(32.86, 68.04, 321.71°)
OKLaboklab(44.49% 0.137 -0.1184)
OKLCHoklch(44.49% 0.181 319.2)
XYZxyz(13.9944, 7.4742, 27.4881)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2291 #379122
analogous
#452291 #7C2291 #91226E
triadic
#7C2291 #917C22 #22917C
tetradic
#7C2291 #914522 #379122 #226E91
square
#7C2291 #914522 #379122 #226E91
split-complementary
#7C2291 #6E9122 #229145
monochromatic
#270B2E #52165F #7C2291 #A62EC3 #BF56D7

Accessibility & contrast

On white

8.42
#7C2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7C2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2291
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2291#FFFFFF#000000##FFFFFF
##7C22911.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#2A508F
Tritanopia (blue-blind)
#7C3958
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2291;
/* rgb */ color: rgb(124, 34, 145);
/* oklch */ color: oklch(44.5% 0.181 319.2);
Tailwind
colors: {
  custom: {
    50: '#a667b2',
    500: '#7c2291',
    950: '#000000',
  },
}
SCSS
$custom: #7c2291;
$custom-light: #a667b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2291",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 288.649,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44487,
    "c": 0.18102,
    "h": 319.2
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#7C2291
secondary
#67BB53
accent
#E54361
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2291

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

Preview Lab → · Contrast checker → · Palette generator →

#7C2291 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva