#7D1C75#7D1C75

#7D1C75 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.165 H 331.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7D1C75
RGBrgb(125, 28, 117)
HSLhsl(305, 63%, 30%)
HSVhsv(305, 78%, 49%)
CMYKcmyk(0%, 77.6%, 6.4%, 51%)
CIE-LABlab(30.58, 50.63, -28.30)
CIE-LCHlch(30.58, 58.00, 330.80°)
OKLaboklab(42.34% 0.145 -0.0779)
OKLCHoklch(42.34% 0.165 331.8)
XYZxyz(12.0836, 6.4758, 17.4397)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C75 #1C7D24
analogous
#541C7D #7D1C75 #7D1C45
triadic
#7D1C75 #757D1C #1C757D
tetradic
#7D1C75 #7D541C #1C7D24 #1C457D
square
#7D1C75 #7D541C #1C7D24 #1C457D
split-complementary
#7D1C75 #457D1C #1C7D54
monochromatic
#190617 #4B1146 #7D1C75 #AF27A4 #D43FC8

Accessibility & contrast

On white

9.15
#7D1C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D1C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C75
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C75#FFFFFF#000000##FFFFFF
##7D1C751.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F77
Deuteranopia (green-blind)
#3C4D73
Tritanopia (blue-blind)
#822847
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1c75;
/* rgb */ color: rgb(125, 28, 117);
/* oklch */ color: oklch(42.3% 0.165 331.8);
Tailwind
colors: {
  custom: {
    50: '#a6649d',
    500: '#7d1c75',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c75;
$custom-light: #a6649d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c75",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 304.948,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42337,
    "c": 0.16461,
    "h": 331.8
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#7D1C75
secondary
#44B14D
accent
#E64F41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1C75

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

Preview Lab → · Contrast checker → · Palette generator →

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