#2A0728#2A0728

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

Color values

HEX#2A0728
RGBrgb(42, 7, 40)
HSLhsl(303, 71%, 10%)
HSVhsv(303, 83%, 16%)
CMYKcmyk(0%, 83.3%, 4.8%, 83.5%)
CIE-LABlab(7.20, 22.95, -13.51)
CIE-LCHlch(7.20, 26.63, 329.51°)
OKLaboklab(20.97% 0.0654 -0.0374)
OKLCHoklch(20.97% 0.075 330.3)
XYZxyz(1.4138, 0.7975, 2.0865)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0728 #072A09
analogous
#1B072A #2A0728 #2A0717
triadic
#2A0728 #282A07 #07282A
tetradic
#2A0728 #2A1B07 #072A09 #07172A
square
#2A0728 #2A1B07 #072A09 #07172A
split-complementary
#2A0728 #172A07 #072A1B
monochromatic
#1A0419 #1A0419 #2A0728 #5E105A #93188C

Accessibility & contrast

On white

18.11
#2A0728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0728
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0728#FFFFFF#000000##FFFFFF
##2A07281.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051329
Deuteranopia (green-blind)
#111827
Tritanopia (blue-blind)
#2C0B16
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0728;
/* rgb */ color: rgb(42, 7, 40);
/* oklch */ color: oklch(21.0% 0.075 330.3);
Tailwind
colors: {
  custom: {
    50: '#654a62',
    500: '#2a0728',
    950: '#000000',
  },
}
SCSS
$custom: #2a0728;
$custom-light: #654a62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0728",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 303.429,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20965,
    "c": 0.07532,
    "h": 330.3
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#2A0728
secondary
#236A27
accent
#EE443A
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0728

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

Preview Lab → · Contrast checker → · Palette generator →

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