#7A2575#7A2575

#7A2575 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.152 H 330.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7A2575
RGBrgb(122, 37, 117)
HSLhsl(304, 53%, 31%)
HSVhsv(304, 70%, 48%)
CMYKcmyk(0%, 69.7%, 4.1%, 52.2%)
CIE-LABlab(31.22, 46.58, -27.33)
CIE-LCHlch(31.22, 54.01, 329.60°)
OKLaboklab(42.7% 0.1321 -0.0752)
OKLCHoklch(42.7% 0.152 330.3)
XYZxyz(11.8984, 6.7460, 17.5016)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2575 #257A2A
analogous
#54257A #7A2575 #7A254A
triadic
#7A2575 #757A25 #25757A
tetradic
#7A2575 #7A5425 #257A2A #254A7A
square
#7A2575 #7A5425 #257A2A #254A7A
split-complementary
#7A2575 #4A7A25 #257A54
monochromatic
#1C091B #4B1748 #7A2575 #A933A2 #CA50C3

Accessibility & contrast

On white

8.94
#7A2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7A2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2575
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2575#FFFFFF#000000##FFFFFF
##7A25751.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4277
Deuteranopia (green-blind)
#3D4E73
Tritanopia (blue-blind)
#7F2F4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2575;
/* rgb */ color: rgb(122, 37, 117);
/* oklch */ color: oklch(42.7% 0.152 330.3);
Tailwind
colors: {
  custom: {
    50: '#a3679d',
    500: '#7a2575',
    950: '#000000',
  },
}
SCSS
$custom: #7a2575;
$custom-light: #a3679d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2575",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 303.529,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42696,
    "c": 0.15202,
    "h": 330.3
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#7A2575
secondary
#4EAC54
accent
#DD544B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #7A2575

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

Preview Lab → · Contrast checker → · Palette generator →

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