#7C1870#7C1870

#7C1870 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.164 H 333.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7C1870
RGBrgb(124, 24, 112)
HSLhsl(307, 68%, 29%)
HSVhsv(307, 81%, 49%)
CMYKcmyk(0%, 80.6%, 9.7%, 51.4%)
CIE-LABlab(29.69, 50.83, -26.54)
CIE-LCHlch(29.69, 57.34, 332.43°)
OKLaboklab(41.57% 0.1474 -0.0728)
OKLCHoklch(41.57% 0.164 333.7)
XYZxyz(11.5635, 6.1092, 15.8963)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1870 #187C24
analogous
#56187C #7C1870 #7C183E
triadic
#7C1870 #707C18 #18707C
tetradic
#7C1870 #7C5618 #187C24 #183E7C
square
#7C1870 #7C5618 #187C24 #183E7C
split-complementary
#7C1870 #3E7C18 #187C56
monochromatic
#1A0517 #490E42 #7C1870 #AF229E #D836C5

Accessibility & contrast

On white

9.45
#7C1870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C1870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1870
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1870#FFFFFF#000000##FFFFFF
##7C18701.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D72
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#822343
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1870;
/* rgb */ color: rgb(124, 24, 112);
/* oklch */ color: oklch(41.6% 0.164 333.7);
Tailwind
colors: {
  custom: {
    50: '#a56299',
    500: '#7c1870',
    950: '#000000',
  },
}
SCSS
$custom: #7c1870;
$custom-light: #a56299;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1870",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 307.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4157,
    "c": 0.16438,
    "h": 333.7
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#7C1870
secondary
#3FB14D
accent
#EA523D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1870

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

Preview Lab → · Contrast checker → · Palette generator →

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