#7A2273#7A2273

#7A2273 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.154 H 331.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7A2273
RGBrgb(122, 34, 115)
HSLhsl(305, 56%, 31%)
HSVhsv(305, 72%, 48%)
CMYKcmyk(0%, 72.1%, 5.7%, 52.2%)
CIE-LABlab(30.69, 47.43, -26.90)
CIE-LCHlch(30.69, 54.52, 330.44°)
OKLaboklab(42.28% 0.1354 -0.074)
OKLCHoklch(42.28% 0.154 331.3)
XYZxyz(11.6926, 6.5203, 16.8591)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2273 #227A29
analogous
#55227A #7A2273 #7A2247
triadic
#7A2273 #737A22 #22737A
tetradic
#7A2273 #7A5522 #227A29 #22477A
square
#7A2273 #7A5522 #227A29 #22477A
split-complementary
#7A2273 #477A22 #227A55
monochromatic
#1A0719 #4A1546 #7A2273 #AA2FA0 #CD4AC2

Accessibility & contrast

On white

9.12
#7A2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7A2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2273
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2273#FFFFFF#000000##FFFFFF
##7A22731.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4075
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#7F2C48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a2273;
/* rgb */ color: rgb(122, 34, 115);
/* oklch */ color: oklch(42.3% 0.154 331.3);
Tailwind
colors: {
  custom: {
    50: '#a3669b',
    500: '#7a2273',
    950: '#000000',
  },
}
SCSS
$custom: #7a2273;
$custom-light: #a3669b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2273",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 304.773,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.15429,
    "h": 331.3
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#7A2273
secondary
#4BAD53
accent
#E05448
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #7A2273

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

Preview Lab → · Contrast checker → · Palette generator →

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