#7A1F94#7A1F94

#7A1F94 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.186 H 317.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7A1F94
RGBrgb(122, 31, 148)
HSLhsl(287, 65%, 35%)
HSVhsv(287, 79%, 58%)
CMYKcmyk(17.6%, 79.1%, 0%, 42%)
CIE-LABlab(32.38, 54.63, -44.79)
CIE-LCHlch(32.38, 70.64, 320.65°)
OKLaboklab(44.15% 0.1367 -0.1261)
OKLCHoklch(44.15% 0.186 317.3)
XYZxyz(13.8605, 7.2563, 28.6817)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F94 #39941F
analogous
#401F94 #7A1F94 #941F73
triadic
#7A1F94 #947A1F #1F947A
tetradic
#7A1F94 #94401F #39941F #1F7394
square
#7A1F94 #94401F #39941F #1F7394
split-complementary
#7A1F94 #73941F #1F9440
monochromatic
#270A2F #501461 #7A1F94 #A42AC7 #BD53DB

Accessibility & contrast

On white

8.57
#7A1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7A1F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F94
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F94#FFFFFF#000000##FFFFFF
##7A1F941.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#224F91
Tritanopia (blue-blind)
#793959
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a1f94;
/* rgb */ color: rgb(122, 31, 148);
/* oklch */ color: oklch(44.1% 0.186 317.3);
Tailwind
colors: {
  custom: {
    50: '#a466b4',
    500: '#7a1f94',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f94;
$custom-light: #a466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f94",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 286.667,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44149,
    "c": 0.18602,
    "h": 317.3
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#7A1F94
secondary
#69BE51
accent
#E83F65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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