#2B0E2A#2B0E2A

#2B0E2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.065 H 328.8°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#2B0E2A
RGBrgb(43, 14, 42)
HSLhsl(302, 51%, 11%)
HSVhsv(302, 67%, 17%)
CMYKcmyk(0%, 67.4%, 2.3%, 83.1%)
CIE-LABlab(8.95, 19.83, -12.27)
CIE-LCHlch(8.95, 23.32, 328.26°)
OKLaboklab(22.34% 0.0556 -0.0337)
OKLCHoklch(22.34% 0.065 328.8)
XYZxyz(1.5712, 0.9949, 2.2993)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E2A #0E2B0F
analogous
#1D0E2B #2B0E2A #2B0E1B
triadic
#2B0E2A #2A2B0E #0E2A2B
tetradic
#2B0E2A #2B1D0E #0E2B0F #0E1B2B
square
#2B0E2A #2B1D0E #0E2B0F #0E1B2B
split-complementary
#2B0E2A #1B2B0E #0E2B1D
monochromatic
#170817 #170817 #2B0E2A #591D57 #872C84

Accessibility & contrast

On white

17.51
#2B0E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B0E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E2A
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E2A#FFFFFF#000000##FFFFFF
##2B0E2A1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172B
Deuteranopia (green-blind)
#151B29
Tritanopia (blue-blind)
#2D111A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0e2a;
/* rgb */ color: rgb(43, 14, 42);
/* oklch */ color: oklch(22.3% 0.065 328.8);
Tailwind
colors: {
  custom: {
    50: '#654e63',
    500: '#2b0e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e2a;
$custom-light: #654e63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e2a",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 302.069,
    "s": 50.877,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22336,
    "c": 0.06503,
    "h": 328.8
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#2B0E2A
secondary
#306532
accent
#DA524D
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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