#2C262F#2C262F

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

Color values

HEX#2C262F
RGBrgb(44, 38, 47)
HSLhsl(280, 11%, 17%)
HSVhsv(280, 19%, 18%)
CMYKcmyk(6.4%, 19.1%, 0%, 81.6%)
CIE-LABlab(16.14, 4.92, -4.87)
CIE-LCHlch(16.14, 6.92, 315.32°)
OKLaboklab(27.89% 0.0129 -0.0131)
OKLCHoklch(27.89% 0.018 314.5)
XYZxyz(2.2448, 2.1270, 2.9811)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C262F #292F26
analogous
#28262F #2C262F #2F262E
triadic
#2C262F #2F2C26 #262F2C
tetradic
#2C262F #2F2826 #292F26 #262E2F
square
#2C262F #2F2826 #292F26 #262E2F
split-complementary
#2C262F #2E2F26 #262F28
monochromatic
#100E11 #100E11 #2C262F #4C4151 #6B5D73

Accessibility & contrast

On white

14.73
#2C262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2C262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C262F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C262F#FFFFFF#000000##FFFFFF
##2C262F1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#26282F
Tritanopia (blue-blind)
#2C2729
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2c262f;
/* rgb */ color: rgb(44, 38, 47);
/* oklch */ color: oklch(27.9% 0.018 314.5);
Tailwind
colors: {
  custom: {
    50: '#656067',
    500: '#2c262f',
    950: '#000000',
  },
}
SCSS
$custom: #2c262f;
$custom-light: #656067;
$custom-dark: #000000;
JSON
{
  "hex": "#2c262f",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 280,
    "s": 10.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27895,
    "c": 0.01834,
    "h": 314.5
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#2C262F
secondary
#565F52
accent
#B47489
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2C262F

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

Preview Lab → · Contrast checker → · Palette generator →

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