#7B2E70#7B2E70

#7B2E70 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.135 H 333.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7B2E70
RGBrgb(123, 46, 112)
HSLhsl(309, 46%, 33%)
HSVhsv(309, 63%, 48%)
CMYKcmyk(0%, 62.6%, 8.9%, 51.8%)
CIE-LABlab(32.56, 42.01, -22.05)
CIE-LCHlch(32.56, 47.45, 332.31°)
OKLaboklab(43.62% 0.1212 -0.0601)
OKLCHoklch(43.62% 0.135 333.6)
XYZxyz(12.0700, 7.3357, 16.1063)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E70 #2E7B39
analogous
#5F2E7B #7B2E70 #7B2E4A
triadic
#7B2E70 #707B2E #2E707B
tetradic
#7B2E70 #7B5F2E #2E7B39 #2E4A7B
square
#7B2E70 #7B5F2E #2E7B39 #2E4A7B
split-complementary
#7B2E70 #4A7B2E #2E7B5F
monochromatic
#220D1F #4E1D47 #7B2E70 #A83F99 #C360B5

Accessibility & contrast

On white

8.51
#7B2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2E70
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E70#FFFFFF#000000##FFFFFF
##7B2E701.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4572
Deuteranopia (green-blind)
#45516E
Tritanopia (blue-blind)
#80344A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2e70;
/* rgb */ color: rgb(123, 46, 112);
/* oklch */ color: oklch(43.6% 0.135 333.6);
Tailwind
colors: {
  custom: {
    50: '#a46c99',
    500: '#7b2e70',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e70;
$custom-light: #a46c99;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e70",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 308.571,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43617,
    "c": 0.13531,
    "h": 333.6
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#7B2E70
secondary
#5BAA66
accent
#D56553
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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