#2A0729#2A0729

#2A0729 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.076 H 329.1°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#2A0729
RGBrgb(42, 7, 41)
HSLhsl(302, 71%, 10%)
HSVhsv(302, 83%, 16%)
CMYKcmyk(0%, 83.3%, 2.4%, 83.5%)
CIE-LABlab(7.27, 23.18, -14.17)
CIE-LCHlch(7.27, 27.17, 328.56°)
OKLaboklab(21.03% 0.0655 -0.0392)
OKLCHoklch(21.03% 0.076 329.1)
XYZxyz(1.4310, 0.8044, 2.1773)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0729 #072A08
analogous
#1A072A #2A0729 #2A0718
triadic
#2A0729 #292A07 #07292A
tetradic
#2A0729 #2A1A07 #072A08 #07182A
square
#2A0729 #2A1A07 #072A08 #07182A
split-complementary
#2A0729 #182A07 #072A1A
monochromatic
#1A041A #1A041A #2A0729 #5E105C #93188F

Accessibility & contrast

On white

18.09
#2A0729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2A0729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0729
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0729#FFFFFF#000000##FFFFFF
##2A07291.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04132A
Deuteranopia (green-blind)
#101828
Tritanopia (blue-blind)
#2C0B17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0729;
/* rgb */ color: rgb(42, 7, 41);
/* oklch */ color: oklch(21.0% 0.076 329.1);
Tailwind
colors: {
  custom: {
    50: '#654a63',
    500: '#2a0729',
    950: '#000000',
  },
}
SCSS
$custom: #2a0729;
$custom-light: #654a63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0729",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 41
  },
  "hsl": {
    "h": 301.714,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21034,
    "c": 0.07632,
    "h": 329.1
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#2A0729
secondary
#236A25
accent
#EE3F3A
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0729

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

Preview Lab → · Contrast checker → · Palette generator →

#2A0729 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva