#2A073A#2A073A

#2A073A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.095 H 312.5°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#2A073A
RGBrgb(42, 7, 58)
HSLhsl(281, 78%, 13%)
HSVhsv(281, 88%, 23%)
CMYKcmyk(27.6%, 87.9%, 0%, 77.3%)
CIE-LABlab(8.57, 27.25, -24.63)
CIE-LCHlch(8.57, 36.73, 317.89°)
OKLaboklab(22.4% 0.0639 -0.0697)
OKLCHoklch(22.4% 0.095 312.5)
XYZxyz(1.7944, 0.9497, 4.0910)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A073A #173A07
analogous
#10073A #2A073A #3A0731
triadic
#2A073A #3A2A07 #073A2A
tetradic
#2A073A #3A1007 #173A07 #07313A
square
#2A073A #3A1007 #173A07 #07313A
split-complementary
#2A073A #313A07 #073A10
monochromatic
#14031B #14031B #2A073A #520E71 #7914A7

Accessibility & contrast

On white

17.65
#2A073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A073A
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A073A#FFFFFF#000000##FFFFFF
##2A073A1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#021939
Tritanopia (blue-blind)
#281320
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a073a;
/* rgb */ color: rgb(42, 7, 58);
/* oklch */ color: oklch(22.4% 0.095 312.5);
Tailwind
colors: {
  custom: {
    50: '#664b70',
    500: '#2a073a',
    950: '#000000',
  },
}
SCSS
$custom: #2a073a;
$custom-light: #664b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a073a",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 281.176,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.224,
    "c": 0.09456,
    "h": 312.5
  },
  "luminance": 0.0095
}

Semantic roles & 50–950 ramp

primary
#2A073A
secondary
#3E7923
accent
#F53370
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A073A

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

Preview Lab → · Contrast checker → · Palette generator →

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