#7A246F#7A246F

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

Color values

HEX#7A246F
RGBrgb(122, 36, 111)
HSLhsl(308, 54%, 31%)
HSVhsv(308, 70%, 48%)
CMYKcmyk(0%, 70.5%, 9%, 52.2%)
CIE-LABlab(30.75, 45.96, -24.25)
CIE-LCHlch(30.75, 51.96, 332.18°)
OKLaboklab(42.25% 0.1328 -0.0664)
OKLCHoklch(42.25% 0.148 333.4)
XYZxyz(11.5262, 6.5480, 15.6927)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A246F #247A2F
analogous
#5A247A #7A246F #7A2444
triadic
#7A246F #6F7A24 #246F7A
tetradic
#7A246F #7A5A24 #247A2F #24447A
square
#7A246F #7A5A24 #247A2F #24447A
split-complementary
#7A246F #447A24 #247A5A
monochromatic
#1B0819 #4B1644 #7A246F #A9329A #CB4EBB

Accessibility & contrast

On white

9.09
#7A246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A246F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A246F#FFFFFF#000000##FFFFFF
##7A246F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224071
Deuteranopia (green-blind)
#3F4D6D
Tritanopia (blue-blind)
#802B46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a246f;
/* rgb */ color: rgb(122, 36, 111);
/* oklch */ color: oklch(42.3% 0.148 333.4);
Tailwind
colors: {
  custom: {
    50: '#a36798',
    500: '#7a246f',
    950: '#000000',
  },
}
SCSS
$custom: #7a246f;
$custom-light: #a36798;
$custom-dark: #000000;
JSON
{
  "hex": "#7a246f",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 307.674,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42253,
    "c": 0.14843,
    "h": 333.4
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#7A246F
secondary
#4DAC59
accent
#DE5D4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #7A246F

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

Preview Lab → · Contrast checker → · Palette generator →

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