#79237F#79237F

#79237F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.163 H 325.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#79237F
RGBrgb(121, 35, 127)
HSLhsl(296, 57%, 32%)
HSVhsv(296, 72%, 50%)
CMYKcmyk(4.7%, 72.4%, 0%, 50.2%)
CIE-LABlab(31.35, 48.94, -33.44)
CIE-LCHlch(31.35, 59.27, 325.66°)
OKLaboklab(42.94% 0.1334 -0.093)
OKLCHoklch(42.94% 0.163 325.1)
XYZxyz(12.3167, 6.8001, 20.7384)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79237F #297F23
analogous
#4B237F #79237F #7F2357
triadic
#79237F #7F7923 #237F79
tetradic
#79237F #7F4B23 #297F23 #23577F
square
#79237F #7F4B23 #297F23 #23577F
split-complementary
#79237F #577F23 #237F4B
monochromatic
#1E091F #4B164F #79237F #A730AF #C64ECE

Accessibility & contrast

On white

8.90
#79237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#79237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79237F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79237F#FFFFFF#000000##FFFFFF
##79237F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4382
Deuteranopia (green-blind)
#364D7D
Tritanopia (blue-blind)
#7C324E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79237f;
/* rgb */ color: rgb(121, 35, 127);
/* oklch */ color: oklch(42.9% 0.163 325.1);
Tailwind
colors: {
  custom: {
    50: '#a367a4',
    500: '#79237f',
    950: '#000000',
  },
}
SCSS
$custom: #79237f;
$custom-light: #a367a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79237f",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 296.087,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4294,
    "c": 0.16264,
    "h": 325.1
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#79237F
secondary
#53B14C
accent
#E04852
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79237F

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

Preview Lab → · Contrast checker → · Palette generator →

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