#7A256E#7A256E

#7A256E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.146 H 334.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7A256E
RGBrgb(122, 37, 110)
HSLhsl(308, 53%, 31%)
HSVhsv(308, 70%, 48%)
CMYKcmyk(0%, 69.7%, 9.8%, 52.2%)
CIE-LABlab(30.85, 45.38, -23.46)
CIE-LCHlch(30.85, 51.09, 332.66°)
OKLaboklab(42.3% 0.1315 -0.0641)
OKLCHoklch(42.3% 0.146 334)
XYZxyz(11.5022, 6.5874, 15.4145)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A256E #257A31
analogous
#5B257A #7A256E #7A2543
triadic
#7A256E #6E7A25 #256E7A
tetradic
#7A256E #7A5B25 #257A31 #25437A
square
#7A256E #7A5B25 #257A31 #25437A
split-complementary
#7A256E #437A25 #257A5B
monochromatic
#1C0919 #4B1744 #7A256E #A93398 #CA50B9

Accessibility & contrast

On white

9.06
#7A256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A256E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A256E#FFFFFF#000000##FFFFFF
##7A256E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234170
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#802C46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a256e;
/* rgb */ color: rgb(122, 37, 110);
/* oklch */ color: oklch(42.3% 0.146 334.0);
Tailwind
colors: {
  custom: {
    50: '#a36798',
    500: '#7a256e',
    950: '#000000',
  },
}
SCSS
$custom: #7a256e;
$custom-light: #a36798;
$custom-dark: #000000;
JSON
{
  "hex": "#7a256e",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 308.471,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.14627,
    "h": 334
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#7A256E
secondary
#4EAC5C
accent
#DD604B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #7A256E

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

Preview Lab → · Contrast checker → · Palette generator →

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