#2A072D#2A072D

#2A072D is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.080 H 324.5°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#2A072D
RGBrgb(42, 7, 45)
HSLhsl(295, 73%, 10%)
HSVhsv(295, 84%, 18%)
CMYKcmyk(6.7%, 84.4%, 0%, 82.4%)
CIE-LABlab(7.53, 24.11, -16.75)
CIE-LCHlch(7.53, 29.36, 325.21°)
OKLaboklab(21.33% 0.0655 -0.0467)
OKLCHoklch(21.33% 0.08 324.5)
XYZxyz(1.5044, 0.8338, 2.5638)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A072D #0A2D07
analogous
#17072D #2A072D #2D071D
triadic
#2A072D #2D2A07 #072D2A
tetradic
#2A072D #2D1707 #0A2D07 #071D2D
square
#2A072D #2D1707 #0A2D07 #071D2D
split-complementary
#2A072D #1D2D07 #072D17
monochromatic
#19041A #19041A #2A072D #5B0F62 #8D1797

Accessibility & contrast

On white

18.00
#2A072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A072D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A072D
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A072D#FFFFFF#000000##FFFFFF
##2A072D1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142E
Deuteranopia (green-blind)
#0E182C
Tritanopia (blue-blind)
#2B0D19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a072d;
/* rgb */ color: rgb(42, 7, 45);
/* oklch */ color: oklch(21.3% 0.080 324.5);
Tailwind
colors: {
  custom: {
    50: '#654a66',
    500: '#2a072d',
    950: '#000000',
  },
}
SCSS
$custom: #2a072d;
$custom-light: #654a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a072d",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 295.263,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21325,
    "c": 0.08044,
    "h": 324.5
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#2A072D
secondary
#296D23
accent
#F03847
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A072D

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

Preview Lab → · Contrast checker → · Palette generator →

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