#79238F#79238F

#79238F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.177 H 318.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#79238F
RGBrgb(121, 35, 143)
HSLhsl(288, 61%, 35%)
HSVhsv(288, 76%, 56%)
CMYKcmyk(15.4%, 75.5%, 0%, 43.9%)
CIE-LABlab(32.37, 52.02, -41.74)
CIE-LCHlch(32.37, 66.69, 321.25°)
OKLaboklab(44% 0.1325 -0.1172)
OKLCHoklch(44% 0.177 318.5)
XYZxyz(13.4434, 7.2508, 26.6727)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79238F #398F23
analogous
#43238F #79238F #8F236F
triadic
#79238F #8F7923 #238F79
tetradic
#79238F #8F4323 #398F23 #236F8F
square
#79238F #8F4323 #398F23 #236F8F
split-complementary
#79238F #6F8F23 #238F43
monochromatic
#260B2D #4F175E #79238F #A32FC0 #BC57D6

Accessibility & contrast

On white

8.57
#79238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#79238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79238F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79238F#FFFFFF#000000##FFFFFF
##79238F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#793957
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #79238f;
/* rgb */ color: rgb(121, 35, 143);
/* oklch */ color: oklch(44.0% 0.177 318.5);
Tailwind
colors: {
  custom: {
    50: '#a367b0',
    500: '#79238f',
    950: '#000000',
  },
}
SCSS
$custom: #79238f;
$custom-light: #a367b0;
$custom-dark: #000000;
JSON
{
  "hex": "#79238f",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 287.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43998,
    "c": 0.17689,
    "h": 318.5
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#79238F
secondary
#69BA54
accent
#E44465
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #79238F

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

Preview Lab → · Contrast checker → · Palette generator →

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