#7A266E#7A266E

#7A266E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.145 H 334.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7A266E
RGBrgb(122, 38, 110)
HSLhsl(309, 53%, 31%)
HSVhsv(309, 69%, 48%)
CMYKcmyk(0%, 68.9%, 9.8%, 52.2%)
CIE-LABlab(31.00, 44.96, -23.23)
CIE-LCHlch(31.00, 50.61, 332.68°)
OKLaboklab(42.41% 0.1302 -0.0635)
OKLCHoklch(42.41% 0.145 334)
XYZxyz(11.5337, 6.6505, 15.4251)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A266E #267A32
analogous
#5C267A #7A266E #7A2644
triadic
#7A266E #6E7A26 #266E7A
tetradic
#7A266E #7A5C26 #267A32 #26447A
square
#7A266E #7A5C26 #267A32 #26447A
split-complementary
#7A266E #447A26 #267A5C
monochromatic
#1D091A #4B1744 #7A266E #A93598 #C951B8

Accessibility & contrast

On white

9.01
#7A266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7A266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A266E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A266E#FFFFFF#000000##FFFFFF
##7A266E1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#414D6C
Tritanopia (blue-blind)
#802D46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a266e;
/* rgb */ color: rgb(122, 38, 110);
/* oklch */ color: oklch(42.4% 0.145 334.0);
Tailwind
colors: {
  custom: {
    50: '#a36898',
    500: '#7a266e',
    950: '#000000',
  },
}
SCSS
$custom: #7a266e;
$custom-light: #a36898;
$custom-dark: #000000;
JSON
{
  "hex": "#7a266e",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 308.571,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.14488,
    "h": 334
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#7A266E
secondary
#50AC5D
accent
#DC604C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A266E

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

Preview Lab → · Contrast checker → · Palette generator →

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