#7A258A#7A258A

#7A258A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.170 H 320.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7A258A
RGBrgb(122, 37, 138)
HSLhsl(290, 58%, 34%)
HSVhsv(290, 73%, 54%)
CMYKcmyk(11.6%, 73.2%, 0%, 45.9%)
CIE-LABlab(32.47, 50.48, -38.48)
CIE-LCHlch(32.47, 63.48, 322.68°)
OKLaboklab(44% 0.1321 -0.1077)
OKLCHoklch(44% 0.17 320.8)
XYZxyz(13.2745, 7.2964, 24.7490)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A258A #358A25
analogous
#48258A #7A258A #8A2568
triadic
#7A258A #8A7A25 #258A7A
tetradic
#7A258A #8A4825 #358A25 #25688A
square
#7A258A #8A4825 #358A25 #25688A
split-complementary
#7A258A #688A25 #258A48
monochromatic
#250B29 #4F185A #7A258A #A532BA #BF57D2

Accessibility & contrast

On white

8.54
#7A258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A258A
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A258A#FFFFFF#000000##FFFFFF
##7A258A1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#304F88
Tritanopia (blue-blind)
#7B3855
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a258a;
/* rgb */ color: rgb(122, 37, 138);
/* oklch */ color: oklch(44.0% 0.170 320.8);
Tailwind
colors: {
  custom: {
    50: '#a468ad',
    500: '#7a258a',
    950: '#000000',
  },
}
SCSS
$custom: #7a258a;
$custom-light: #a468ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7a258a",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 290.495,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43997,
    "c": 0.17044,
    "h": 320.8
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#7A258A
secondary
#64B754
accent
#E1475F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A258A

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

Preview Lab → · Contrast checker → · Palette generator →

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