#2B282F#2B282F

#2B282F is a dark, near-neutral violet. Relative luminance 0.022; OKLCH L 28.3% C 0.013 H 304.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#2B282F
RGBrgb(43, 40, 47)
HSLhsl(266, 8%, 17%)
HSVhsv(266, 15%, 18%)
CMYKcmyk(8.5%, 14.9%, 0%, 81.6%)
CIE-LABlab(16.68, 3.08, -4.07)
CIE-LCHlch(16.68, 5.10, 307.15°)
OKLaboklab(28.29% 0.0076 -0.0109)
OKLCHoklch(28.29% 0.013 304.9)
XYZxyz(2.2681, 2.2364, 3.0010)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B282F #2C2F28
analogous
#28292F #2B282F #2F282F
triadic
#2B282F #2F2B28 #282F2B
tetradic
#2B282F #2F2829 #2C2F28 #282F2F
square
#2B282F #2F2829 #2C2F28 #282F2F
split-complementary
#2B282F #2F2F28 #292F28
monochromatic
#0F0E11 #0F0E11 #2B282F #494450 #676071

Accessibility & contrast

On white

14.51
#2B282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2B282F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B282F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B282F#FFFFFF#000000##FFFFFF
##2B282F1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#2A292A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b282f;
/* rgb */ color: rgb(43, 40, 47);
/* oklch */ color: oklch(28.3% 0.013 304.9);
Tailwind
colors: {
  custom: {
    50: '#646167',
    500: '#2b282f',
    950: '#000000',
  },
}
SCSS
$custom: #2b282f;
$custom-light: #646167;
$custom-dark: #000000;
JSON
{
  "hex": "#2b282f",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 265.714,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2829,
    "c": 0.01332,
    "h": 304.9
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#2B282F
secondary
#5A5E54
accent
#B17798
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050506
muted
#79797A

Preview Lab

Preview with #2B282F

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

Preview Lab → · Contrast checker → · Palette generator →

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