#2A0B2C#2A0B2C

#2A0B2C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.072 H 325.2°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#2A0B2C
RGBrgb(42, 11, 44)
HSLhsl(296, 60%, 11%)
HSVhsv(296, 75%, 17%)
CMYKcmyk(4.5%, 75%, 0%, 82.7%)
CIE-LABlab(8.25, 21.70, -14.87)
CIE-LCHlch(8.25, 26.31, 325.58°)
OKLaboklab(21.83% 0.0593 -0.0412)
OKLCHoklch(21.83% 0.072 325.2)
XYZxyz(1.5291, 0.9135, 2.4782)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B2C #0D2C0B
analogous
#190B2C #2A0B2C #2C0B1D
triadic
#2A0B2C #2C2A0B #0B2C2A
tetradic
#2A0B2C #2C190B #0D2C0B #0B1D2C
square
#2A0B2C #2C190B #0D2C0B #0B1D2C
split-complementary
#2A0B2C #1D2C0B #0B2C19
monochromatic
#170618 #170618 #2A0B2C #59175D #87238E

Accessibility & contrast

On white

17.76
#2A0B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B2C
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B2C#FFFFFF#000000##FFFFFF
##2A0B2C1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162D
Deuteranopia (green-blind)
#11192B
Tritanopia (blue-blind)
#2B101A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0b2c;
/* rgb */ color: rgb(42, 11, 44);
/* oklch */ color: oklch(21.8% 0.072 325.2);
Tailwind
colors: {
  custom: {
    50: '#654c65',
    500: '#2a0b2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b2c;
$custom-light: #654c65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b2c",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 296.364,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21828,
    "c": 0.07223,
    "h": 325.2
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#2A0B2C
secondary
#2E682B
accent
#E3454E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2A0B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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