#7D1B74#7D1B74

#7D1B74 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.165 H 332.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7D1B74
RGBrgb(125, 27, 116)
HSLhsl(306, 64%, 30%)
HSVhsv(306, 78%, 49%)
CMYKcmyk(0%, 78.4%, 7.2%, 51%)
CIE-LABlab(30.41, 50.78, -27.93)
CIE-LCHlch(30.41, 57.96, 331.19°)
OKLaboklab(42.2% 0.1459 -0.0768)
OKLCHoklch(42.2% 0.165 332.2)
XYZxyz(12.0018, 6.4058, 17.1239)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B74 #1B7D24
analogous
#551B7D #7D1B74 #7D1B43
triadic
#7D1B74 #747D1B #1B747D
tetradic
#7D1B74 #7D551B #1B7D24 #1B437D
square
#7D1B74 #7D551B #1B7D24 #1B437D
split-complementary
#7D1B74 #437D1B #1B7D55
monochromatic
#190517 #4B1045 #7D1B74 #AF26A3 #D53DC7

Accessibility & contrast

On white

9.21
#7D1B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D1B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B74
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B74#FFFFFF#000000##FFFFFF
##7D1B741.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F76
Deuteranopia (green-blind)
#3C4C72
Tritanopia (blue-blind)
#832746
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1b74;
/* rgb */ color: rgb(125, 27, 116);
/* oklch */ color: oklch(42.2% 0.165 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6639c',
    500: '#7d1b74',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b74;
$custom-light: #a6639c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b74",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 305.51,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42198,
    "c": 0.16491,
    "h": 332.2
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#7D1B74
secondary
#43B14D
accent
#E75040
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1B74

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

Preview Lab → · Contrast checker → · Palette generator →

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