#7B2273#7B2273

#7B2273 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.155 H 331.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7B2273
RGBrgb(123, 34, 115)
HSLhsl(305, 57%, 31%)
HSVhsv(305, 72%, 48%)
CMYKcmyk(0%, 72.4%, 6.5%, 51.8%)
CIE-LABlab(30.86, 47.68, -26.61)
CIE-LCHlch(30.86, 54.60, 330.83°)
OKLaboklab(42.44% 0.1365 -0.0731)
OKLCHoklch(42.44% 0.155 331.8)
XYZxyz(11.8349, 6.5938, 16.8657)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2273 #227B2A
analogous
#56227B #7B2273 #7B2246
triadic
#7B2273 #737B22 #22737B
tetradic
#7B2273 #7B5622 #227B2A #22467B
square
#7B2273 #7B5622 #227B2A #22467B
split-complementary
#7B2273 #467B22 #227B56
monochromatic
#1B0719 #4B1546 #7B2273 #AB2FA0 #CD4AC1

Accessibility & contrast

On white

9.06
#7B2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7B2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2273
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2273#FFFFFF#000000##FFFFFF
##7B22731.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4175
Deuteranopia (green-blind)
#3E4D71
Tritanopia (blue-blind)
#802B48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b2273;
/* rgb */ color: rgb(123, 34, 115);
/* oklch */ color: oklch(42.4% 0.155 331.8);
Tailwind
colors: {
  custom: {
    50: '#a4669b',
    500: '#7b2273',
    950: '#000000',
  },
}
SCSS
$custom: #7b2273;
$custom-light: #a4669b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2273",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 305.393,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.15487,
    "h": 331.8
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#7B2273
secondary
#4BAE54
accent
#E05648
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B2273

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

Preview Lab → · Contrast checker → · Palette generator →

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