#7A307C#7A307C

#7A307C is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.142 H 326.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7A307C
RGBrgb(122, 48, 124)
HSLhsl(298, 44%, 34%)
HSVhsv(298, 61%, 49%)
CMYKcmyk(1.6%, 61.3%, 0%, 51.4%)
CIE-LABlab(33.37, 42.97, -28.35)
CIE-LCHlch(33.37, 51.48, 326.58°)
OKLaboklab(44.38% 0.1188 -0.0783)
OKLCHoklch(44.38% 0.142 326.6)
XYZxyz(12.7208, 7.7075, 19.8825)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A307C #327C30
analogous
#54307C #7A307C #7C3058
triadic
#7A307C #7C7A30 #307C7A
tetradic
#7A307C #7C5430 #327C30 #30587C
square
#7A307C #7C5430 #327C30 #30587C
split-complementary
#7A307C #587C30 #307C54
monochromatic
#230E24 #4F1F50 #7A307C #A541A8 #C064C3

Accessibility & contrast

On white

8.26
#7A307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7A307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A307C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A307C#FFFFFF#000000##FFFFFF
##7A307C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487E
Deuteranopia (green-blind)
#40527A
Tritanopia (blue-blind)
#7D3A51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a307c;
/* rgb */ color: rgb(122, 48, 124);
/* oklch */ color: oklch(44.4% 0.142 326.6);
Tailwind
colors: {
  custom: {
    50: '#a36da2',
    500: '#7a307c',
    950: '#000000',
  },
}
SCSS
$custom: #7a307c;
$custom-light: #a36da2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a307c",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 298.421,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.14225,
    "h": 326.6
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#7A307C
secondary
#60AA5E
accent
#D45457
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7A307C

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

Preview Lab → · Contrast checker → · Palette generator →

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