#7F2290#7F2290

#7F2290 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.181 H 320.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7F2290
RGBrgb(127, 34, 144)
HSLhsl(291, 62%, 35%)
HSVhsv(291, 76%, 56%)
CMYKcmyk(11.8%, 76.4%, 0%, 43.5%)
CIE-LABlab(33.29, 53.85, -40.83)
CIE-LCHlch(33.29, 67.58, 322.82°)
OKLaboklab(44.86% 0.1408 -0.1144)
OKLCHoklch(44.86% 0.181 320.9)
XYZxyz(14.3579, 7.6705, 27.1044)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2290 #339022
analogous
#482290 #7F2290 #90226A
triadic
#7F2290 #907F22 #22907F
tetradic
#7F2290 #904822 #339022 #226A90
square
#7F2290 #904822 #339022 #226A90
split-complementary
#7F2290 #6A9022 #229048
monochromatic
#280B2D #53165E #7F2290 #AB2EC2 #C355D7

Accessibility & contrast

On white

8.29
#7F2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7F2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2290
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2290#FFFFFF#000000##FFFFFF
##7F22901.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#2F528D
Tritanopia (blue-blind)
#803858
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2290;
/* rgb */ color: rgb(127, 34, 144);
/* oklch */ color: oklch(44.9% 0.181 320.9);
Tailwind
colors: {
  custom: {
    50: '#a868b1',
    500: '#7f2290',
    950: '#000000',
  },
}
SCSS
$custom: #7f2290;
$custom-light: #a868b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2290",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 290.727,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44864,
    "c": 0.18139,
    "h": 320.9
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#7F2290
secondary
#63BB53
accent
#E5435C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2290

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

Preview Lab → · Contrast checker → · Palette generator →

#7F2290 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva