#7B2290#7B2290

#7B2290 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.180 H 319.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7B2290
RGBrgb(123, 34, 144)
HSLhsl(289, 62%, 35%)
HSVhsv(289, 76%, 56%)
CMYKcmyk(14.6%, 76.4%, 0%, 43.5%)
CIE-LABlab(32.63, 53.00, -41.92)
CIE-LCHlch(32.63, 67.58, 321.66°)
OKLaboklab(44.27% 0.1358 -0.1177)
OKLCHoklch(44.27% 0.18 319.1)
XYZxyz(13.7738, 7.3693, 27.0770)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2290 #379022
analogous
#442290 #7B2290 #90226E
triadic
#7B2290 #907B22 #22907B
tetradic
#7B2290 #904422 #379022 #226E90
square
#7B2290 #904422 #379022 #226E90
split-complementary
#7B2290 #6E9022 #229044
monochromatic
#260B2D #51165E #7B2290 #A52EC2 #BE55D7

Accessibility & contrast

On white

8.49
#7B2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7B2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2290
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2290#FFFFFF#000000##FFFFFF
##7B22901.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#2A508E
Tritanopia (blue-blind)
#7B3958
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2290;
/* rgb */ color: rgb(123, 34, 144);
/* oklch */ color: oklch(44.3% 0.180 319.1);
Tailwind
colors: {
  custom: {
    50: '#a567b1',
    500: '#7b2290',
    950: '#000000',
  },
}
SCSS
$custom: #7b2290;
$custom-light: #a567b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2290",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 288.545,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4427,
    "c": 0.17972,
    "h": 319.1
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#7B2290
secondary
#67BB53
accent
#E54362
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2290

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

Preview Lab → · Contrast checker → · Palette generator →

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