#2C262E#2C262E

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

Color values

HEX#2C262E
RGBrgb(44, 38, 46)
HSLhsl(285, 10%, 16%)
HSVhsv(285, 17%, 18%)
CMYKcmyk(4.3%, 17.4%, 0%, 82%)
CIE-LABlab(16.10, 4.67, -4.22)
CIE-LCHlch(16.10, 6.29, 317.91°)
OKLaboklab(27.85% 0.0124 -0.0113)
OKLCHoklch(27.85% 0.017 317.7)
XYZxyz(2.2249, 2.1190, 2.8760)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C262E #282E26
analogous
#28262E #2C262E #2E262C
triadic
#2C262E #2E2C26 #262E2C
tetradic
#2C262E #2E2826 #282E26 #262C2E
square
#2C262E #2E2826 #282E26 #262C2E
split-complementary
#2C262E #2C2E26 #262E28
monochromatic
#100E11 #100E11 #2C262E #4C4250 #6C5D71

Accessibility & contrast

On white

14.75
#2C262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C262E
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C262E#FFFFFF#000000##FFFFFF
##2C262E1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c262e;
/* rgb */ color: rgb(44, 38, 46);
/* oklch */ color: oklch(27.9% 0.017 317.7);
Tailwind
colors: {
  custom: {
    50: '#656066',
    500: '#2c262e',
    950: '#000000',
  },
}
SCSS
$custom: #2c262e;
$custom-light: #656066;
$custom-dark: #000000;
JSON
{
  "hex": "#2c262e",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 285,
    "s": 9.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2785,
    "c": 0.01679,
    "h": 317.7
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#2C262E
secondary
#555E52
accent
#B37585
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2C262E

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

Preview Lab → · Contrast checker → · Palette generator →

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