#79238B#79238B

#79238B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.173 H 320.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#79238B
RGBrgb(121, 35, 139)
HSLhsl(290, 60%, 34%)
HSVhsv(290, 75%, 55%)
CMYKcmyk(12.9%, 74.8%, 0%, 45.5%)
CIE-LABlab(32.11, 51.23, -39.70)
CIE-LCHlch(32.11, 64.81, 322.22°)
OKLaboklab(43.72% 0.1328 -0.1113)
OKLCHoklch(43.72% 0.173 320)
XYZxyz(13.1458, 7.1318, 25.1052)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79238B #358B23
analogous
#45238B #79238B #8B2369
triadic
#79238B #8B7923 #238B79
tetradic
#79238B #8B4523 #358B23 #23698B
square
#79238B #8B4523 #358B23 #23698B
split-complementary
#79238B #698B23 #238B45
monochromatic
#240A29 #4E175A #79238B #A42FBC #BE54D4

Accessibility & contrast

On white

8.66
#79238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#79238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79238B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79238B#FFFFFF#000000##FFFFFF
##79238B1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#2D4E89
Tritanopia (blue-blind)
#793755
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79238b;
/* rgb */ color: rgb(121, 35, 139);
/* oklch */ color: oklch(43.7% 0.173 320.0);
Tailwind
colors: {
  custom: {
    50: '#a367ad',
    500: '#79238b',
    950: '#000000',
  },
}
SCSS
$custom: #79238b;
$custom-light: #a367ad;
$custom-dark: #000000;
JSON
{
  "hex": "#79238b",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 289.615,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43724,
    "c": 0.17328,
    "h": 320
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#79238B
secondary
#63B852
accent
#E34560
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79238B

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

Preview Lab → · Contrast checker → · Palette generator →

#79238B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva