#2B0F2D#2B0F2D

#2B0F2D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.066 H 324.9°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#2B0F2D
RGBrgb(43, 15, 45)
HSLhsl(296, 50%, 12%)
HSVhsv(296, 67%, 18%)
CMYKcmyk(4.4%, 66.7%, 0%, 82.4%)
CIE-LABlab(9.36, 19.91, -13.85)
CIE-LCHlch(9.36, 24.26, 325.18°)
OKLaboklab(22.7% 0.0544 -0.0382)
OKLCHoklch(22.7% 0.066 324.9)
XYZxyz(1.6407, 1.0448, 2.5974)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F2D #112D0F
analogous
#1C0F2D #2B0F2D #2D0F20
triadic
#2B0F2D #2D2B0F #0F2D2B
tetradic
#2B0F2D #2D1C0F #112D0F #0F202D
square
#2B0F2D #2D1C0F #112D0F #0F202D
split-complementary
#2B0F2D #202D0F #0F2D1C
monochromatic
#160817 #160817 #2B0F2D #571E5B #832E89

Accessibility & contrast

On white

17.37
#2B0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F2D
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F2D#FFFFFF#000000##FFFFFF
##2B0F2D1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182E
Deuteranopia (green-blind)
#141B2C
Tritanopia (blue-blind)
#2C131C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0f2d;
/* rgb */ color: rgb(43, 15, 45);
/* oklch */ color: oklch(22.7% 0.066 324.9);
Tailwind
colors: {
  custom: {
    50: '#654f66',
    500: '#2b0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f2d;
$custom-light: #654f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f2d",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 296,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22696,
    "c": 0.06649,
    "h": 324.9
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#2B0F2D
secondary
#356631
accent
#DA4E58
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2B0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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