#7C2489#7C2489

#7C2489 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.172 H 322.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7C2489
RGBrgb(124, 36, 137)
HSLhsl(292, 58%, 34%)
HSVhsv(292, 74%, 54%)
CMYKcmyk(9.5%, 73.7%, 0%, 46.3%)
CIE-LABlab(32.60, 51.13, -37.64)
CIE-LCHlch(32.60, 63.49, 323.64°)
OKLaboklab(44.13% 0.1357 -0.1052)
OKLCHoklch(44.13% 0.172 322.2)
XYZxyz(13.4579, 7.3537, 24.3726)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2489 #318924
analogous
#4A2489 #7C2489 #892464
triadic
#7C2489 #897C24 #24897C
tetradic
#7C2489 #894A24 #318924 #246489
square
#7C2489 #894A24 #318924 #246489
split-complementary
#7C2489 #648924 #24894A
monochromatic
#240B28 #501759 #7C2489 #A831B9 #C255D2

Accessibility & contrast

On white

8.50
#7C2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7C2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2489
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2489#FFFFFF#000000##FFFFFF
##7C24891.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)
#00468C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#7E3654
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2489;
/* rgb */ color: rgb(124, 36, 137);
/* oklch */ color: oklch(44.1% 0.172 322.2);
Tailwind
colors: {
  custom: {
    50: '#a568ac',
    500: '#7c2489',
    950: '#000000',
  },
}
SCSS
$custom: #7c2489;
$custom-light: #a568ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2489",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 292.277,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44132,
    "c": 0.17165,
    "h": 322.2
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#7C2489
secondary
#5FB752
accent
#E2465A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2489

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

Preview Lab → · Contrast checker → · Palette generator →

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