#2C262D#2C262D

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

Color values

HEX#2C262D
RGBrgb(44, 38, 45)
HSLhsl(291, 8%, 16%)
HSVhsv(291, 16%, 18%)
CMYKcmyk(2.2%, 15.6%, 0%, 82.4%)
CIE-LABlab(16.06, 4.42, -3.57)
CIE-LCHlch(16.06, 5.68, 321.08°)
OKLaboklab(27.81% 0.012 -0.0095)
OKLCHoklch(27.81% 0.015 321.4)
XYZxyz(2.2054, 2.1112, 2.7734)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C262D #272D26
analogous
#29262D #2C262D #2D262B
triadic
#2C262D #2D2C26 #262D2C
tetradic
#2C262D #2D2926 #272D26 #262B2D
square
#2C262D #2D2926 #272D26 #262B2D
split-complementary
#2C262D #2B2D26 #262D29
monochromatic
#100E11 #100E11 #2C262D #4C424E #6D5E6F

Accessibility & contrast

On white

14.77
#2C262D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C262D
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C262D#FFFFFF#000000##FFFFFF
##2C262D1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c262d;
/* rgb */ color: rgb(44, 38, 45);
/* oklch */ color: oklch(27.8% 0.015 321.4);
Tailwind
colors: {
  custom: {
    50: '#656065',
    500: '#2c262d',
    950: '#000000',
  },
}
SCSS
$custom: #2c262d;
$custom-light: #656065;
$custom-dark: #000000;
JSON
{
  "hex": "#2c262d",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 45
  },
  "hsl": {
    "h": 291.429,
    "s": 8.434,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27807,
    "c": 0.0153,
    "h": 321.4
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#2C262D
secondary
#545D52
accent
#B1767F
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050405
muted
#7A797A

Preview Lab

Preview with #2C262D

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

Preview Lab → · Contrast checker → · Palette generator →

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