#7A306E#7A306E

#7A306E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.6% C 0.130 H 334.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7A306E
RGBrgb(122, 48, 110)
HSLhsl(310, 44%, 33%)
HSVhsv(310, 61%, 48%)
CMYKcmyk(0%, 60.7%, 9.8%, 52.2%)
CIE-LABlab(32.65, 40.41, -20.65)
CIE-LCHlch(32.65, 45.38, 332.93°)
OKLaboklab(43.62% 0.1169 -0.0562)
OKLCHoklch(43.62% 0.13 334.3)
XYZxyz(11.8975, 7.3782, 15.5463)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A306E #307A3C
analogous
#61307A #7A306E #7A3049
triadic
#7A306E #6E7A30 #306E7A
tetradic
#7A306E #7A6130 #307A3C #30497A
square
#7A306E #7A6130 #307A3C #30497A
split-complementary
#7A306E #497A30 #307A61
monochromatic
#220D1F #4E1F46 #7A306E #A64196 #C263B2

Accessibility & contrast

On white

8.48
#7A306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A306E
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A306E#FFFFFF#000000##FFFFFF
##7A306E1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4670
Deuteranopia (green-blind)
#46516C
Tritanopia (blue-blind)
#80354A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a306e;
/* rgb */ color: rgb(122, 48, 110);
/* oklch */ color: oklch(43.6% 0.130 334.3);
Tailwind
colors: {
  custom: {
    50: '#a36d97',
    500: '#7a306e',
    950: '#000000',
  },
}
SCSS
$custom: #7a306e;
$custom-light: #a36d97;
$custom-dark: #000000;
JSON
{
  "hex": "#7a306e",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 309.73,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43621,
    "c": 0.1297,
    "h": 334.3
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#7A306E
secondary
#5DA969
accent
#D36955
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7A306E

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

Preview Lab → · Contrast checker → · Palette generator →

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