#7A1274#7A1274

#7A1274 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.172 H 330.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7A1274
RGBrgb(122, 18, 116)
HSLhsl(303, 74%, 27%)
HSVhsv(303, 85%, 48%)
CMYKcmyk(0%, 85.2%, 4.9%, 52.2%)
CIE-LABlab(28.98, 52.64, -30.23)
CIE-LCHlch(28.98, 60.70, 330.13°)
OKLaboklab(41.07% 0.15 -0.0835)
OKLCHoklch(41.07% 0.172 330.9)
XYZxyz(11.3947, 5.8321, 17.0452)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1274 #127A18
analogous
#4C127A #7A1274 #7A1240
triadic
#7A1274 #747A12 #12747A
tetradic
#7A1274 #7A4C12 #127A18 #12407A
square
#7A1274 #7A4C12 #127A18 #12407A
split-complementary
#7A1274 #407A12 #127A4C
monochromatic
#1B0419 #450A41 #7A1274 #AF1AA7 #DF27D5

Accessibility & contrast

On white

9.69
#7A1274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7A1274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1274
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1274#FFFFFF#000000##FFFFFF
##7A12741.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013B76
Deuteranopia (green-blind)
#364972
Tritanopia (blue-blind)
#7F2244
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1274;
/* rgb */ color: rgb(122, 18, 116);
/* oklch */ color: oklch(41.1% 0.172 330.9);
Tailwind
colors: {
  custom: {
    50: '#a4609c',
    500: '#7a1274',
    950: '#000000',
  },
}
SCSS
$custom: #7a1274;
$custom-light: #a4609c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1274",
  "rgb": {
    "r": 122,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 303.462,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.1717,
    "h": 330.9
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#7A1274
secondary
#38B03F
accent
#F14237
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7A1274

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

Preview Lab → · Contrast checker → · Palette generator →

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