#7C246E#7C246E

#7C246E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.149 H 334.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7C246E
RGBrgb(124, 36, 110)
HSLhsl(310, 55%, 31%)
HSVhsv(310, 71%, 49%)
CMYKcmyk(0%, 71%, 11.3%, 51.4%)
CIE-LABlab(31.05, 46.32, -23.12)
CIE-LCHlch(31.05, 51.77, 333.48°)
OKLaboklab(42.52% 0.1349 -0.0631)
OKLCHoklch(42.52% 0.149 334.9)
XYZxyz(11.7576, 6.6736, 15.4177)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C246E #247C32
analogous
#5E247C #7C246E #7C2442
triadic
#7C246E #6E7C24 #246E7C
tetradic
#7C246E #7C5E24 #247C32 #24427C
square
#7C246E #7C5E24 #247C32 #24427C
split-complementary
#7C246E #427C24 #247C5E
monochromatic
#1D081A #4D1644 #7C246E #AB3298 #CC4FB8

Accessibility & contrast

On white

9.00
#7C246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7C246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C246E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C246E#FFFFFF#000000##FFFFFF
##7C246E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#424E6C
Tritanopia (blue-blind)
#822A46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c246e;
/* rgb */ color: rgb(124, 36, 110);
/* oklch */ color: oklch(42.5% 0.149 334.9);
Tailwind
colors: {
  custom: {
    50: '#a56798',
    500: '#7c246e',
    950: '#000000',
  },
}
SCSS
$custom: #7c246e;
$custom-light: #a56798;
$custom-dark: #000000;
JSON
{
  "hex": "#7c246e",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 309.545,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42519,
    "c": 0.14891,
    "h": 334.9
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#7C246E
secondary
#4DAE5D
accent
#DE6149
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C246E

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

Preview Lab → · Contrast checker → · Palette generator →

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