#7C1889#7C1889

#7C1889 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.2% C 0.184 H 322.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7C1889
RGBrgb(124, 24, 137)
HSLhsl(293, 70%, 32%)
HSVhsv(293, 82%, 54%)
CMYKcmyk(9.5%, 82.5%, 0%, 46.3%)
CIE-LABlab(31.22, 55.09, -39.85)
CIE-LCHlch(31.22, 68.00, 324.12°)
OKLaboklab(43.15% 0.1464 -0.1115)
OKLCHoklch(43.15% 0.184 322.7)
XYZxyz(13.1537, 6.7453, 24.2712)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1889 #258918
analogous
#441889 #7C1889 #89185E
triadic
#7C1889 #897C18 #18897C
tetradic
#7C1889 #894418 #258918 #185E89
square
#7C1889 #894418 #258918 #185E89
split-complementary
#7C1889 #5E8918 #188944
monochromatic
#1E0621 #4D0F55 #7C1889 #AB21BD #CB3EDD

Accessibility & contrast

On white

8.94
#7C1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7C1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1889
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1889#FFFFFF#000000##FFFFFF
##7C18891.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#2C4D87
Tritanopia (blue-blind)
#7E3051
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c1889;
/* rgb */ color: rgb(124, 24, 137);
/* oklch */ color: oklch(43.2% 0.184 322.7);
Tailwind
colors: {
  custom: {
    50: '#a663ac',
    500: '#7c1889',
    950: '#000000',
  },
}
SCSS
$custom: #7c1889;
$custom-light: #a663ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1889",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 293.097,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43153,
    "c": 0.18404,
    "h": 322.7
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#7C1889
secondary
#4FBD40
accent
#ED3B4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1889

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

Preview Lab → · Contrast checker → · Palette generator →

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