#792590#792590

#792590 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.175 H 318.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#792590
RGBrgb(121, 37, 144)
HSLhsl(287, 59%, 35%)
HSVhsv(287, 74%, 56%)
CMYKcmyk(16%, 74.3%, 0%, 43.5%)
CIE-LABlab(32.71, 51.45, -41.82)
CIE-LCHlch(32.71, 66.30, 320.90°)
OKLaboklab(44.26% 0.1304 -0.1175)
OKLCHoklch(44.26% 0.175 318)
XYZxyz(13.5801, 7.4023, 27.0936)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792590 #3C9025
analogous
#432590 #792590 #902571
triadic
#792590 #907925 #259079
tetradic
#792590 #904325 #3C9025 #257190
square
#792590 #904325 #3C9025 #257190
split-complementary
#792590 #719025 #259043
monochromatic
#270C2F #50185F #792590 #A232C1 #BB5BD5

Accessibility & contrast

On white

8.47
#792590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792590
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792590#FFFFFF#000000##FFFFFF
##7925901.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#29508E
Tritanopia (blue-blind)
#783B58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792590;
/* rgb */ color: rgb(121, 37, 144);
/* oklch */ color: oklch(44.3% 0.175 318.0);
Tailwind
colors: {
  custom: {
    50: '#a368b1',
    500: '#792590',
    950: '#000000',
  },
}
SCSS
$custom: #792590;
$custom-light: #a368b1;
$custom-dark: #000000;
JSON
{
  "hex": "#792590",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 287.103,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44257,
    "c": 0.17549,
    "h": 318
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#792590
secondary
#6CB957
accent
#E24567
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792590

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

Preview Lab → · Contrast checker → · Palette generator →

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