#7A3175#7A3175

#7A3175 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.1% C 0.134 H 330.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7A3175
RGBrgb(122, 49, 117)
HSLhsl(304, 43%, 34%)
HSVhsv(304, 60%, 48%)
CMYKcmyk(0%, 59.8%, 4.1%, 52.2%)
CIE-LABlab(33.18, 41.18, -24.26)
CIE-LCHlch(33.18, 47.79, 329.50°)
OKLaboklab(44.12% 0.1166 -0.0665)
OKLCHoklch(44.12% 0.134 330.3)
XYZxyz(12.3352, 7.6194, 17.6472)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3175 #317A36
analogous
#5A317A #7A3175 #7A3150
triadic
#7A3175 #757A31 #31757A
tetradic
#7A3175 #7A5A31 #317A36 #31507A
square
#7A3175 #7A5A31 #317A36 #31507A
split-complementary
#7A3175 #507A31 #317A5A
monochromatic
#230E21 #4E1F4B #7A3175 #A6439F #C164BB

Accessibility & contrast

On white

8.32
#7A3175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7A3175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A3175
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3175#FFFFFF#000000##FFFFFF
##7A31751.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4877
Deuteranopia (green-blind)
#445273
Tritanopia (blue-blind)
#7E384E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a3175;
/* rgb */ color: rgb(122, 49, 117);
/* oklch */ color: oklch(44.1% 0.134 330.3);
Tailwind
colors: {
  custom: {
    50: '#a36e9d',
    500: '#7a3175',
    950: '#000000',
  },
}
SCSS
$custom: #7a3175;
$custom-light: #a36e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3175",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 304.11,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44118,
    "c": 0.13423,
    "h": 330.3
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#7A3175
secondary
#5EA864
accent
#D25E55
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A3175

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

Preview Lab → · Contrast checker → · Palette generator →

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