#2A0B2B#2A0B2B

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

Color values

HEX#2A0B2B
RGBrgb(42, 11, 43)
HSLhsl(298, 59%, 11%)
HSVhsv(298, 74%, 17%)
CMYKcmyk(2.3%, 74.4%, 0%, 83.1%)
CIE-LABlab(8.18, 21.47, -14.23)
CIE-LCHlch(8.18, 25.76, 326.47°)
OKLaboklab(21.76% 0.0593 -0.0393)
OKLCHoklch(21.76% 0.071 326.4)
XYZxyz(1.5105, 0.9061, 2.3804)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B2B #0C2B0B
analogous
#1A0B2B #2A0B2B #2B0B1C
triadic
#2A0B2B #2B2A0B #0B2B2A
tetradic
#2A0B2B #2B1A0B #0C2B0B #0B1C2B
square
#2A0B2B #2B1A0B #0C2B0B #0B1C2B
split-complementary
#2A0B2B #1C2B0B #0B2B1A
monochromatic
#180618 #180618 #2A0B2B #5A175C #89248C

Accessibility & contrast

On white

17.78
#2A0B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B2B
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B2B#FFFFFF#000000##FFFFFF
##2A0B2B1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07152C
Deuteranopia (green-blind)
#12192A
Tritanopia (blue-blind)
#2B0F19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0b2b;
/* rgb */ color: rgb(42, 11, 43);
/* oklch */ color: oklch(21.8% 0.071 326.4);
Tailwind
colors: {
  custom: {
    50: '#654c64',
    500: '#2a0b2b',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b2b;
$custom-light: #654c64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b2b",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 43
  },
  "hsl": {
    "h": 298.125,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21759,
    "c": 0.07112,
    "h": 326.4
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#2A0B2B
secondary
#2D672B
accent
#E2454A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2A0B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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