#7A1F85#7A1F85

#7A1F85 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.173 H 323.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7A1F85
RGBrgb(122, 31, 133)
HSLhsl(294, 62%, 32%)
HSVhsv(294, 77%, 52%)
CMYKcmyk(8.3%, 76.7%, 0%, 47.8%)
CIE-LABlab(31.37, 51.75, -37.13)
CIE-LCHlch(31.37, 63.69, 324.34°)
OKLaboklab(43.11% 0.1384 -0.1037)
OKLCHoklch(43.11% 0.173 323.2)
XYZxyz(12.7493, 6.8118, 22.8290)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F85 #2A851F
analogous
#471F85 #7A1F85 #851F5D
triadic
#7A1F85 #857A1F #1F857A
tetradic
#7A1F85 #85471F #2A851F #1F5D85
square
#7A1F85 #85471F #2A851F #1F5D85
split-complementary
#7A1F85 #5D851F #1F8547
monochromatic
#1F0822 #4C1353 #7A1F85 #A82BB7 #C64AD5

Accessibility & contrast

On white

8.89
#7A1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7A1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F85
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F85#FFFFFF#000000##FFFFFF
##7A1F851.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#7C3251
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1f85;
/* rgb */ color: rgb(122, 31, 133);
/* oklch */ color: oklch(43.1% 0.173 323.2);
Tailwind
colors: {
  custom: {
    50: '#a465a9',
    500: '#7a1f85',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f85;
$custom-light: #a465a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f85",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 293.529,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.17296,
    "h": 323.2
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#7A1F85
secondary
#55B749
accent
#E54354
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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