#2B252D#2B252D

#2B252D is a dark, near-neutral purple. Relative luminance 0.020; OKLCH L 27.4% C 0.017 H 317.7°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#2B252D
RGBrgb(43, 37, 45)
HSLhsl(285, 10%, 16%)
HSVhsv(285, 18%, 18%)
CMYKcmyk(4.4%, 17.8%, 0%, 82.4%)
CIE-LABlab(15.62, 4.69, -4.23)
CIE-LCHlch(15.62, 6.32, 317.91°)
OKLaboklab(27.44% 0.0125 -0.0114)
OKLCHoklch(27.44% 0.017 317.7)
XYZxyz(2.1314, 2.0262, 2.7609)
Luminance0.0203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B252D #272D25
analogous
#27252D #2B252D #2D252B
triadic
#2B252D #2D2B25 #252D2B
tetradic
#2B252D #2D2725 #272D25 #252B2D
square
#2B252D #2D2725 #272D25 #252B2D
split-complementary
#2B252D #2B2D25 #252D27
monochromatic
#100E11 #100E11 #2B252D #4B414F #6B5C70

Accessibility & contrast

On white

14.94
#2B252D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2B252D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B252D
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B252D#FFFFFF#000000##FFFFFF
##2B252D1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272D
Deuteranopia (green-blind)
#25272D
Tritanopia (blue-blind)
#2B2628
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b252d;
/* rgb */ color: rgb(43, 37, 45);
/* oklch */ color: oklch(27.4% 0.017 317.7);
Tailwind
colors: {
  custom: {
    50: '#645f65',
    500: '#2b252d',
    950: '#000000',
  },
}
SCSS
$custom: #2b252d;
$custom-light: #645f65;
$custom-dark: #000000;
JSON
{
  "hex": "#2b252d",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 285,
    "s": 9.756,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27441,
    "c": 0.01685,
    "h": 317.7
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#2B252D
secondary
#545D51
accent
#B37584
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050405
muted
#79797A

Preview Lab

Preview with #2B252D

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

Preview Lab → · Contrast checker → · Palette generator →

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