#791875#791875

#791875 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.167 H 330.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#791875
RGBrgb(121, 24, 117)
HSLhsl(302, 67%, 28%)
HSVhsv(302, 80%, 47%)
CMYKcmyk(0%, 80.2%, 3.3%, 52.5%)
CIE-LABlab(29.42, 50.96, -30.19)
CIE-LCHlch(29.42, 59.23, 329.36°)
OKLaboklab(41.37% 0.1442 -0.0834)
OKLCHoklch(41.37% 0.167 330)
XYZxyz(11.4226, 6.0035, 17.3833)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791875 #18791C
analogous
#4C1879 #791875 #791844
triadic
#791875 #757918 #187579
tetradic
#791875 #794C18 #18791C #184479
square
#791875 #794C18 #18791C #184479
split-complementary
#791875 #447918 #18794C
monochromatic
#1A0519 #460E44 #791875 #AC22A6 #D735D0

Accessibility & contrast

On white

9.54
#791875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#791875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791875
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791875#FFFFFF#000000##FFFFFF
##7918751.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083D77
Deuteranopia (green-blind)
#364A73
Tritanopia (blue-blind)
#7E2646
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791875;
/* rgb */ color: rgb(121, 24, 117);
/* oklch */ color: oklch(41.4% 0.167 330.0);
Tailwind
colors: {
  custom: {
    50: '#a3629d',
    500: '#791875',
    950: '#000000',
  },
}
SCSS
$custom: #791875;
$custom-light: #a3629d;
$custom-dark: #000000;
JSON
{
  "hex": "#791875",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 302.474,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41369,
    "c": 0.16664,
    "h": 330
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#791875
secondary
#3FAE44
accent
#EA453E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791875

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

Preview Lab → · Contrast checker → · Palette generator →

#791875 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva