#7C2290#7C2290

#7C2290 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.180 H 319.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7C2290
RGBrgb(124, 34, 144)
HSLhsl(289, 62%, 35%)
HSVhsv(289, 76%, 56%)
CMYKcmyk(13.9%, 76.4%, 0%, 43.5%)
CIE-LABlab(32.80, 53.21, -41.65)
CIE-LCHlch(32.80, 67.57, 321.95°)
OKLaboklab(44.42% 0.1371 -0.1169)
OKLCHoklch(44.42% 0.18 319.5)
XYZxyz(13.9176, 7.4435, 27.0838)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2290 #369022
analogous
#452290 #7C2290 #90226D
triadic
#7C2290 #907C22 #22907C
tetradic
#7C2290 #904522 #369022 #226D90
square
#7C2290 #904522 #369022 #226D90
split-complementary
#7C2290 #6D9022 #229045
monochromatic
#270B2D #51165E #7C2290 #A72EC2 #BF55D7

Accessibility & contrast

On white

8.44
#7C2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2290
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2290#FFFFFF#000000##FFFFFF
##7C22901.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c2290;
/* rgb */ color: rgb(124, 34, 144);
/* oklch */ color: oklch(44.4% 0.180 319.5);
Tailwind
colors: {
  custom: {
    50: '#a667b1',
    500: '#7c2290',
    950: '#000000',
  },
}
SCSS
$custom: #7c2290;
$custom-light: #a667b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2290",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 289.091,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.18013,
    "h": 319.5
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#7C2290
secondary
#66BB53
accent
#E54360
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2290

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

Preview Lab → · Contrast checker → · Palette generator →

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