#7A2295#7A2295

#7A2295 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.184 H 316.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7A2295
RGBrgb(122, 34, 149)
HSLhsl(286, 63%, 36%)
HSVhsv(286, 77%, 58%)
CMYKcmyk(18.1%, 77.2%, 0%, 41.6%)
CIE-LABlab(32.81, 53.79, -44.70)
CIE-LCHlch(32.81, 69.94, 320.27°)
OKLaboklab(44.48% 0.1339 -0.1259)
OKLCHoklch(44.48% 0.184 316.8)
XYZxyz(14.0221, 7.4521, 29.1277)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2295 #3D9522
analogous
#402295 #7A2295 #952276
triadic
#7A2295 #957A22 #22957A
tetradic
#7A2295 #954022 #3D9522 #227695
square
#7A2295 #954022 #3D9522 #227695
split-complementary
#7A2295 #769522 #229540
monochromatic
#280B31 #511763 #7A2295 #A32DC7 #BB58D9

Accessibility & contrast

On white

8.43
#7A2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2295
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2295#FFFFFF#000000##FFFFFF
##7A22951.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#235092
Tritanopia (blue-blind)
#783B5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2295;
/* rgb */ color: rgb(122, 34, 149);
/* oklch */ color: oklch(44.5% 0.184 316.8);
Tailwind
colors: {
  custom: {
    50: '#a467b5',
    500: '#7a2295',
    950: '#000000',
  },
}
SCSS
$custom: #7a2295;
$custom-light: #a467b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2295",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 285.913,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.18381,
    "h": 316.8
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#7A2295
secondary
#6EBD56
accent
#E64268
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2295

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

Preview Lab → · Contrast checker → · Palette generator →

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