#2B252E#2B252E

#2B252E is a dark, near-neutral purple. Relative luminance 0.020; OKLCH L 27.5% C 0.018 H 314.5°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#2B252E
RGBrgb(43, 37, 46)
HSLhsl(280, 11%, 16%)
HSVhsv(280, 20%, 18%)
CMYKcmyk(6.5%, 19.6%, 0%, 82%)
CIE-LABlab(15.66, 4.94, -4.88)
CIE-LCHlch(15.66, 6.95, 315.34°)
OKLaboklab(27.49% 0.0129 -0.0131)
OKLCHoklch(27.49% 0.018 314.5)
XYZxyz(2.1509, 2.0340, 2.8635)
Luminance0.0203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B252E #282E25
analogous
#27252E #2B252E #2E252D
triadic
#2B252E #2E2B25 #252E2B
tetradic
#2B252E #2E2725 #282E25 #252D2E
square
#2B252E #2E2725 #282E25 #252D2E
split-complementary
#2B252E #2D2E25 #252E27
monochromatic
#100E11 #100E11 #2B252E #4B4050 #6A5C72

Accessibility & contrast

On white

14.93
#2B252E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B252E
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B252E#FFFFFF#000000##FFFFFF
##2B252E1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b252e;
/* rgb */ color: rgb(43, 37, 46);
/* oklch */ color: oklch(27.5% 0.018 314.5);
Tailwind
colors: {
  custom: {
    50: '#645f66',
    500: '#2b252e',
    950: '#000000',
  },
}
SCSS
$custom: #2b252e;
$custom-light: #645f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b252e",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 46
  },
  "hsl": {
    "h": 280,
    "s": 10.843,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27486,
    "c": 0.01841,
    "h": 314.5
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#2B252E
secondary
#555E51
accent
#B47489
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #2B252E

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

Preview Lab → · Contrast checker → · Palette generator →

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