#791475#791475

#791475 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.170 H 330.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#791475
RGBrgb(121, 20, 117)
HSLhsl(302, 72%, 28%)
HSVhsv(302, 83%, 47%)
CMYKcmyk(0%, 83.5%, 3.3%, 52.5%)
CIE-LABlab(29.03, 52.09, -30.80)
CIE-LCHlch(29.03, 60.51, 329.40°)
OKLaboklab(41.09% 0.1475 -0.0852)
OKLCHoklch(41.09% 0.17 330)
XYZxyz(11.3461, 5.8505, 17.3579)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791475 #147918
analogous
#4A1479 #791475 #791443
triadic
#791475 #757914 #147579
tetradic
#791475 #794A14 #147918 #144379
square
#791475 #794A14 #147918 #144379
split-complementary
#791475 #437914 #14794A
monochromatic
#1A0419 #440B42 #791475 #AE1DA8 #DC2BD5

Accessibility & contrast

On white

9.68
#791475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#791475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791475
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791475#FFFFFF#000000##FFFFFF
##7914751.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#354973
Tritanopia (blue-blind)
#7E2445
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791475;
/* rgb */ color: rgb(121, 20, 117);
/* oklch */ color: oklch(41.1% 0.170 330.0);
Tailwind
colors: {
  custom: {
    50: '#a3609d',
    500: '#791475',
    950: '#000000',
  },
}
SCSS
$custom: #791475;
$custom-light: #a3609d;
$custom-dark: #000000;
JSON
{
  "hex": "#791475",
  "rgb": {
    "r": 121,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 302.376,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.17031,
    "h": 330
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#791475
secondary
#3AAF3F
accent
#EE4139
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791475

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

Preview Lab → · Contrast checker → · Palette generator →

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