#7D1F90#7D1F90

#7D1F90 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.184 H 320.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7D1F90
RGBrgb(125, 31, 144)
HSLhsl(290, 65%, 34%)
HSVhsv(290, 78%, 56%)
CMYKcmyk(13.2%, 78.5%, 0%, 43.5%)
CIE-LABlab(32.60, 54.45, -41.96)
CIE-LCHlch(32.60, 68.74, 322.39°)
OKLaboklab(44.31% 0.141 -0.1177)
OKLCHoklch(44.31% 0.184 320.2)
XYZxyz(13.9809, 7.3543, 27.0633)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F90 #32901F
analogous
#451F90 #7D1F90 #901F6A
triadic
#7D1F90 #907D1F #1F907D
tetradic
#7D1F90 #90451F #32901F #1F6A90
square
#7D1F90 #90451F #32901F #1F6A90
split-complementary
#7D1F90 #6A901F #1F9045
monochromatic
#26092B #51145E #7D1F90 #A92AC2 #C250D9

Accessibility & contrast

On white

8.50
#7D1F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7D1F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F90
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F90#FFFFFF#000000##FFFFFF
##7D1F901.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#2A508D
Tritanopia (blue-blind)
#7D3757
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d1f90;
/* rgb */ color: rgb(125, 31, 144);
/* oklch */ color: oklch(44.3% 0.184 320.2);
Tailwind
colors: {
  custom: {
    50: '#a666b1',
    500: '#7d1f90',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f90;
$custom-light: #a666b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f90",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 289.912,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44312,
    "c": 0.18371,
    "h": 320.2
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#7D1F90
secondary
#61BC4E
accent
#E8405C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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