#2B0A2B#2B0A2B

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

Color values

HEX#2B0A2B
RGBrgb(43, 10, 43)
HSLhsl(300, 62%, 10%)
HSVhsv(300, 77%, 17%)
CMYKcmyk(0%, 76.7%, 0%, 83.1%)
CIE-LABlab(8.18, 22.34, -14.23)
CIE-LCHlch(8.18, 26.49, 327.51°)
OKLaboklab(21.79% 0.0622 -0.0393)
OKLCHoklch(21.79% 0.074 327.7)
XYZxyz(1.5408, 0.9052, 2.3786)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A2B #0A2B0A
analogous
#1A0A2B #2B0A2B #2B0A1A
triadic
#2B0A2B #2B2B0A #0A2B2B
tetradic
#2B0A2B #2B1A0A #0A2B0A #0A1A2B
square
#2B0A2B #2B1A0A #0A2B0A #0A1A2B
split-complementary
#2B0A2B #1A2B0A #0A2B1A
monochromatic
#190619 #190619 #2B0A2B #5D165D #8E218E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B0A2B#FFFFFF#000000##FFFFFF
##2B0A2B1.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)
#06152C
Deuteranopia (green-blind)
#12192A
Tritanopia (blue-blind)
#2D0E19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0a2b;
/* rgb */ color: rgb(43, 10, 43);
/* oklch */ color: oklch(21.8% 0.074 327.7);
Tailwind
colors: {
  custom: {
    50: '#664c64',
    500: '#2b0a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a2b;
$custom-light: #664c64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a2b",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21791,
    "c": 0.07359,
    "h": 327.7
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#2B0A2B
secondary
#296829
accent
#E54242
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2B0A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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