#2B0A2A#2B0A2A

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

Color values

HEX#2B0A2A
RGBrgb(43, 10, 42)
HSLhsl(302, 62%, 10%)
HSVhsv(302, 77%, 17%)
CMYKcmyk(0%, 76.7%, 2.3%, 83.1%)
CIE-LABlab(8.11, 22.12, -13.58)
CIE-LCHlch(8.11, 25.96, 328.45°)
OKLaboklab(21.72% 0.0621 -0.0374)
OKLCHoklch(21.72% 0.073 328.9)
XYZxyz(1.5227, 0.8979, 2.2832)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A2A #0A2B0B
analogous
#1B0A2B #2B0A2A #2B0A19
triadic
#2B0A2A #2A2B0A #0A2A2B
tetradic
#2B0A2A #2B1B0A #0A2B0B #0A192B
square
#2B0A2A #2B1B0A #0A2B0B #0A192B
split-complementary
#2B0A2A #192B0A #0A2B1B
monochromatic
#190618 #190618 #2B0A2A #5D165A #8E218B

Accessibility & contrast

On white

17.80
#2B0A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A2A
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A2A#FFFFFF#000000##FFFFFF
##2B0A2A1.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07152B
Deuteranopia (green-blind)
#121929
Tritanopia (blue-blind)
#2D0E18
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0a2a;
/* rgb */ color: rgb(43, 10, 42);
/* oklch */ color: oklch(21.7% 0.073 328.9);
Tailwind
colors: {
  custom: {
    50: '#664c63',
    500: '#2b0a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a2a;
$custom-light: #664c63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a2a",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 301.818,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21723,
    "c": 0.07254,
    "h": 328.9
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#2B0A2A
secondary
#29682B
accent
#E54742
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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