#792275#792275

#792275 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.155 H 329.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#792275
RGBrgb(121, 34, 117)
HSLhsl(303, 56%, 30%)
HSVhsv(303, 72%, 47%)
CMYKcmyk(0%, 71.9%, 3.3%, 52.5%)
CIE-LABlab(30.63, 47.52, -28.28)
CIE-LCHlch(30.63, 55.30, 329.25°)
OKLaboklab(42.23% 0.1344 -0.078)
OKLCHoklch(42.23% 0.155 329.9)
XYZxyz(11.6680, 6.4942, 17.4651)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792275 #227926
analogous
#522279 #792275 #792249
triadic
#792275 #757922 #227579
tetradic
#792275 #795222 #227926 #224979
square
#792275 #795222 #227926 #224979
split-complementary
#792275 #497922 #227952
monochromatic
#190719 #491547 #792275 #A92FA3 #CC49C6

Accessibility & contrast

On white

9.14
#792275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#792275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792275
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792275#FFFFFF#000000##FFFFFF
##7922751.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194177
Deuteranopia (green-blind)
#3B4C73
Tritanopia (blue-blind)
#7E2D49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792275;
/* rgb */ color: rgb(121, 34, 117);
/* oklch */ color: oklch(42.2% 0.155 329.9);
Tailwind
colors: {
  custom: {
    50: '#a3669d',
    500: '#792275',
    950: '#000000',
  },
}
SCSS
$custom: #792275;
$custom-light: #a3669d;
$custom-dark: #000000;
JSON
{
  "hex": "#792275",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 302.759,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42233,
    "c": 0.15536,
    "h": 329.9
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#792275
secondary
#4BAC4F
accent
#DF4F48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792275

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

Preview Lab → · Contrast checker → · Palette generator →

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