#7A1F83#7A1F83

#7A1F83 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.171 H 324.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7A1F83
RGBrgb(122, 31, 131)
HSLhsl(295, 62%, 32%)
HSVhsv(295, 76%, 51%)
CMYKcmyk(6.9%, 76.3%, 0%, 48.6%)
CIE-LABlab(31.25, 51.38, -36.09)
CIE-LCHlch(31.25, 62.79, 324.91°)
OKLaboklab(42.98% 0.1386 -0.1006)
OKLCHoklch(42.98% 0.171 324)
XYZxyz(12.6124, 6.7570, 22.1083)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F83 #28831F
analogous
#481F83 #7A1F83 #831F5A
triadic
#7A1F83 #837A1F #1F837A
tetradic
#7A1F83 #83481F #28831F #1F5A83
square
#7A1F83 #83481F #28831F #1F5A83
split-complementary
#7A1F83 #5A831F #1F8348
monochromatic
#1E0820 #4C1352 #7A1F83 #A82BB4 #C749D4

Accessibility & contrast

On white

8.93
#7A1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7A1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F83
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F83#FFFFFF#000000##FFFFFF
##7A1F831.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#324D81
Tritanopia (blue-blind)
#7C3150
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1f83;
/* rgb */ color: rgb(122, 31, 131);
/* oklch */ color: oklch(43.0% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#a465a7',
    500: '#7a1f83',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f83;
$custom-light: #a465a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f83",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 294.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42981,
    "c": 0.17125,
    "h": 324
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#7A1F83
secondary
#52B648
accent
#E54352
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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