#7F2390#7F2390

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

Color values

HEX#7F2390
RGBrgb(127, 35, 144)
HSLhsl(291, 61%, 35%)
HSVhsv(291, 76%, 56%)
CMYKcmyk(11.8%, 75.7%, 0%, 43.5%)
CIE-LABlab(33.41, 53.49, -40.64)
CIE-LCHlch(33.41, 67.18, 322.78°)
OKLaboklab(44.95% 0.1398 -0.1138)
OKLCHoklch(44.95% 0.18 320.9)
XYZxyz(14.3869, 7.7285, 27.1141)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2390 #349023
analogous
#482390 #7F2390 #90236B
triadic
#7F2390 #907F23 #23907F
tetradic
#7F2390 #904823 #349023 #236B90
square
#7F2390 #904823 #349023 #236B90
split-complementary
#7F2390 #6B9023 #239048
monochromatic
#280B2E #54175F #7F2390 #AA2FC1 #C257D6

Accessibility & contrast

On white

8.25
#7F2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7F2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2390
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2390#FFFFFF#000000##FFFFFF
##7F23901.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2390;
/* rgb */ color: rgb(127, 35, 144);
/* oklch */ color: oklch(45.0% 0.180 320.9);
Tailwind
colors: {
  custom: {
    50: '#a868b1',
    500: '#7f2390',
    950: '#000000',
  },
}
SCSS
$custom: #7f2390;
$custom-light: #a868b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2390",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 290.642,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.18029,
    "h": 320.9
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#7F2390
secondary
#64BA54
accent
#E4445D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2390

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

Preview Lab → · Contrast checker → · Palette generator →

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