#7A1875#7A1875

#7A1875 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.167 H 330.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7A1875
RGBrgb(122, 24, 117)
HSLhsl(303, 67%, 29%)
HSVhsv(303, 80%, 48%)
CMYKcmyk(0%, 80.3%, 4.1%, 52.2%)
CIE-LABlab(29.60, 51.19, -29.88)
CIE-LCHlch(29.60, 59.27, 329.72°)
OKLaboklab(41.53% 0.1453 -0.0825)
OKLCHoklch(41.53% 0.167 330.4)
XYZxyz(11.5635, 6.0761, 17.3900)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1875 #187A1D
analogous
#4E187A #7A1875 #7A1844
triadic
#7A1875 #757A18 #18757A
tetradic
#7A1875 #7A4E18 #187A1D #18447A
square
#7A1875 #7A4E18 #187A1D #18447A
split-complementary
#7A1875 #447A18 #187A4E
monochromatic
#1A0519 #470E44 #7A1875 #AD22A6 #D735CF

Accessibility & contrast

On white

9.48
#7A1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1875
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1875#FFFFFF#000000##FFFFFF
##7A18751.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D77
Deuteranopia (green-blind)
#374A73
Tritanopia (blue-blind)
#7F2646
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1875;
/* rgb */ color: rgb(122, 24, 117);
/* oklch */ color: oklch(41.5% 0.167 330.4);
Tailwind
colors: {
  custom: {
    50: '#a4629d',
    500: '#7a1875',
    950: '#000000',
  },
}
SCSS
$custom: #7a1875;
$custom-light: #a4629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1875",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 303.061,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41534,
    "c": 0.16714,
    "h": 330.4
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#7A1875
secondary
#3FAF45
accent
#EA473E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1875

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

Preview Lab → · Contrast checker → · Palette generator →

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