#7A1F93#7A1F93

#7A1F93 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.185 H 317.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7A1F93
RGBrgb(122, 31, 147)
HSLhsl(287, 65%, 35%)
HSVhsv(287, 79%, 58%)
CMYKcmyk(17%, 78.9%, 0%, 42.4%)
CIE-LABlab(32.31, 54.43, -44.29)
CIE-LCHlch(32.31, 70.17, 320.87°)
OKLaboklab(44.08% 0.1369 -0.1246)
OKLCHoklch(44.08% 0.185 317.7)
XYZxyz(13.7817, 7.2248, 28.2667)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F93 #38931F
analogous
#401F93 #7A1F93 #931F72
triadic
#7A1F93 #937A1F #1F937A
tetradic
#7A1F93 #93401F #38931F #1F7293
square
#7A1F93 #93401F #38931F #1F7293
split-complementary
#7A1F93 #72931F #1F9340
monochromatic
#260A2E #501460 #7A1F93 #A42AC6 #BD52DA

Accessibility & contrast

On white

8.59
#7A1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7A1F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F93
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F93#FFFFFF#000000##FFFFFF
##7A1F931.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#234F90
Tritanopia (blue-blind)
#793959
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a1f93;
/* rgb */ color: rgb(122, 31, 147);
/* oklch */ color: oklch(44.1% 0.185 317.7);
Tailwind
colors: {
  custom: {
    50: '#a466b3',
    500: '#7a1f93',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f93;
$custom-light: #a466b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f93",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 287.069,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.18514,
    "h": 317.7
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#7A1F93
secondary
#68BE50
accent
#E84064
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1F93

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

Preview Lab → · Contrast checker → · Palette generator →

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