#7A306F#7A306F

#7A306F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.131 H 333.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7A306F
RGBrgb(122, 48, 111)
HSLhsl(309, 44%, 33%)
HSVhsv(309, 61%, 48%)
CMYKcmyk(0%, 60.7%, 9%, 52.2%)
CIE-LABlab(32.70, 40.58, -21.21)
CIE-LCHlch(32.70, 45.79, 332.41°)
OKLaboklab(43.67% 0.1171 -0.0578)
OKLCHoklch(43.67% 0.131 333.7)
XYZxyz(11.9523, 7.4001, 15.8347)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A306F #307A3B
analogous
#60307A #7A306F #7A304A
triadic
#7A306F #6F7A30 #306F7A
tetradic
#7A306F #7A6030 #307A3B #304A7A
square
#7A306F #7A6030 #307A3B #304A7A
split-complementary
#7A306F #4A7A30 #307A60
monochromatic
#220D1F #4E1F47 #7A306F #A64197 #C263B3

Accessibility & contrast

On white

8.47
#7A306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A306F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A306F#FFFFFF#000000##FFFFFF
##7A306F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4671
Deuteranopia (green-blind)
#46516D
Tritanopia (blue-blind)
#7F354B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a306f;
/* rgb */ color: rgb(122, 48, 111);
/* oklch */ color: oklch(43.7% 0.131 333.7);
Tailwind
colors: {
  custom: {
    50: '#a36d98',
    500: '#7a306f',
    950: '#000000',
  },
}
SCSS
$custom: #7a306f;
$custom-light: #a36d98;
$custom-dark: #000000;
JSON
{
  "hex": "#7a306f",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 308.919,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43672,
    "c": 0.13055,
    "h": 333.7
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#7A306F
secondary
#5DA968
accent
#D36755
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7A306F

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

Preview Lab → · Contrast checker → · Palette generator →

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