#2A0A2C#2A0A2C

#2A0A2C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.074 H 325.3°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#2A0A2C
RGBrgb(42, 10, 44)
HSLhsl(296, 63%, 11%)
HSVhsv(296, 77%, 17%)
CMYKcmyk(4.5%, 77.3%, 0%, 82.7%)
CIE-LABlab(8.05, 22.25, -15.18)
CIE-LCHlch(8.05, 26.94, 325.69°)
OKLaboklab(21.68% 0.0609 -0.0421)
OKLCHoklch(21.68% 0.074 325.3)
XYZxyz(1.5180, 0.8913, 2.4745)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A2C #0C2C0A
analogous
#190A2C #2A0A2C #2C0A1D
triadic
#2A0A2C #2C2A0A #0A2C2A
tetradic
#2A0A2C #2C190A #0C2C0A #0A1D2C
square
#2A0A2C #2C190A #0C2C0A #0A1D2C
split-complementary
#2A0A2C #1D2C0A #0A2C19
monochromatic
#180619 #180619 #2A0A2C #5A155E #892190

Accessibility & contrast

On white

17.82
#2A0A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2A0A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0A2C
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A2C#FFFFFF#000000##FFFFFF
##2A0A2C1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05152D
Deuteranopia (green-blind)
#10192B
Tritanopia (blue-blind)
#2B0F19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0a2c;
/* rgb */ color: rgb(42, 10, 44);
/* oklch */ color: oklch(21.7% 0.074 325.3);
Tailwind
colors: {
  custom: {
    50: '#654c65',
    500: '#2a0a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a2c;
$custom-light: #654c65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a2c",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 44
  },
  "hsl": {
    "h": 296.471,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21684,
    "c": 0.074,
    "h": 325.3
  },
  "luminance": 0.00891
}

Semantic roles & 50–950 ramp

primary
#2A0A2C
secondary
#2D6929
accent
#E6424B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2A0A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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