#2B262D#2B262D

#2B262D is a dark, near-neutral purple. Relative luminance 0.021; OKLCH L 27.7% C 0.015 H 316.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#2B262D
RGBrgb(43, 38, 45)
HSLhsl(283, 8%, 16%)
HSVhsv(283, 16%, 18%)
CMYKcmyk(4.4%, 15.6%, 0%, 82.4%)
CIE-LABlab(15.95, 3.98, -3.75)
CIE-LCHlch(15.95, 5.47, 316.73°)
OKLaboklab(27.69% 0.0105 -0.01)
OKLCHoklch(27.69% 0.015 316.4)
XYZxyz(2.1630, 2.0893, 2.7714)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B262D #282D26
analogous
#28262D #2B262D #2D262C
triadic
#2B262D #2D2B26 #262D2B
tetradic
#2B262D #2D2826 #282D26 #262C2D
square
#2B262D #2D2826 #282D26 #262C2D
split-complementary
#2B262D #2C2D26 #262D28
monochromatic
#100E11 #100E11 #2B262D #4B424E #6A5E6F

Accessibility & contrast

On white

14.81
#2B262D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2B262D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B262D
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B262D#FFFFFF#000000##FFFFFF
##2B262D1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272D
Deuteranopia (green-blind)
#26282D
Tritanopia (blue-blind)
#2B2728
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b262d;
/* rgb */ color: rgb(43, 38, 45);
/* oklch */ color: oklch(27.7% 0.015 316.4);
Tailwind
colors: {
  custom: {
    50: '#646065',
    500: '#2b262d',
    950: '#000000',
  },
}
SCSS
$custom: #2b262d;
$custom-light: #646065;
$custom-dark: #000000;
JSON
{
  "hex": "#2b262d",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 45
  },
  "hsl": {
    "h": 282.857,
    "s": 8.434,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27693,
    "c": 0.01454,
    "h": 316.4
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#2B262D
secondary
#555D52
accent
#B17687
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050405
muted
#79797A

Preview Lab

Preview with #2B262D

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

Preview Lab → · Contrast checker → · Palette generator →

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