#7A1874#7A1874

#7A1874 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.166 H 330.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7A1874
RGBrgb(122, 24, 116)
HSLhsl(304, 67%, 29%)
HSVhsv(304, 80%, 48%)
CMYKcmyk(0%, 80.3%, 4.9%, 52.2%)
CIE-LABlab(29.55, 51.02, -29.34)
CIE-LCHlch(29.55, 58.86, 330.10°)
OKLaboklab(41.47% 0.1453 -0.081)
OKLCHoklch(41.47% 0.166 330.9)
XYZxyz(11.5050, 6.0527, 17.0820)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1874 #187A1E
analogous
#4F187A #7A1874 #7A1843
triadic
#7A1874 #747A18 #18747A
tetradic
#7A1874 #7A4F18 #187A1E #18437A
square
#7A1874 #7A4F18 #187A1E #18437A
split-complementary
#7A1874 #437A18 #187A4F
monochromatic
#1A0518 #470E43 #7A1874 #AD22A5 #D735CD

Accessibility & contrast

On white

9.50
#7A1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1874
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1874#FFFFFF#000000##FFFFFF
##7A18741.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#7F2645
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1874;
/* rgb */ color: rgb(122, 24, 116);
/* oklch */ color: oklch(41.5% 0.166 330.9);
Tailwind
colors: {
  custom: {
    50: '#a4629c',
    500: '#7a1874',
    950: '#000000',
  },
}
SCSS
$custom: #7a1874;
$custom-light: #a4629c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1874",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 303.673,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41473,
    "c": 0.16636,
    "h": 330.9
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#7A1874
secondary
#3FAF46
accent
#EA483E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1874

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

Preview Lab → · Contrast checker → · Palette generator →

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