#7A246E#7A246E

#7A246E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.148 H 334.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7A246E
RGBrgb(122, 36, 110)
HSLhsl(308, 54%, 31%)
HSVhsv(308, 70%, 48%)
CMYKcmyk(0%, 70.5%, 9.8%, 52.2%)
CIE-LABlab(30.70, 45.79, -23.69)
CIE-LCHlch(30.70, 51.56, 332.64°)
OKLaboklab(42.2% 0.1327 -0.0648)
OKLCHoklch(42.2% 0.148 334)
XYZxyz(11.4715, 6.5261, 15.4043)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A246E #247A30
analogous
#5B247A #7A246E #7A2443
triadic
#7A246E #6E7A24 #246E7A
tetradic
#7A246E #7A5B24 #247A30 #24437A
square
#7A246E #7A5B24 #247A30 #24437A
split-complementary
#7A246E #437A24 #247A5B
monochromatic
#1B0819 #4B1643 #7A246E #A93299 #CB4EB9

Accessibility & contrast

On white

9.11
#7A246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7A246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A246E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A246E#FFFFFF#000000##FFFFFF
##7A246E1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224070
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#802B46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a246e;
/* rgb */ color: rgb(122, 36, 110);
/* oklch */ color: oklch(42.2% 0.148 334.0);
Tailwind
colors: {
  custom: {
    50: '#a36798',
    500: '#7a246e',
    950: '#000000',
  },
}
SCSS
$custom: #7a246e;
$custom-light: #a36798;
$custom-dark: #000000;
JSON
{
  "hex": "#7a246e",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 308.372,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.14763,
    "h": 334
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#7A246E
secondary
#4DAC5B
accent
#DE5F4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A246E

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

Preview Lab → · Contrast checker → · Palette generator →

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