#2D262C#2D262C

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

Color values

HEX#2D262C
RGBrgb(45, 38, 44)
HSLhsl(309, 8%, 16%)
HSVhsv(309, 16%, 18%)
CMYKcmyk(0%, 15.6%, 2.2%, 82.4%)
CIE-LABlab(16.14, 4.62, -2.74)
CIE-LCHlch(16.14, 5.37, 329.37°)
OKLaboklab(27.88% 0.0129 -0.0073)
OKLCHoklch(27.88% 0.015 330.7)
XYZxyz(2.2299, 2.1260, 2.6753)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D262C #262D27
analogous
#2B262D #2D262C #2D2629
triadic
#2D262C #2C2D26 #262C2D
tetradic
#2D262C #2D2B26 #262D27 #26292D
square
#2D262C #2D2B26 #262D27 #26292D
split-complementary
#2D262C #292D26 #262D2B
monochromatic
#110E10 #110E10 #2D262C #4E424C #6F5E6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D262C#FFFFFF#000000##FFFFFF
##2D262C1.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)
#26272C
Deuteranopia (green-blind)
#27282C
Tritanopia (blue-blind)
#2E2628
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d262c;
/* rgb */ color: rgb(45, 38, 44);
/* oklch */ color: oklch(27.9% 0.015 330.7);
Tailwind
colors: {
  custom: {
    50: '#656065',
    500: '#2d262c',
    950: '#000000',
  },
}
SCSS
$custom: #2d262c;
$custom-light: #656065;
$custom-dark: #000000;
JSON
{
  "hex": "#2d262c",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 308.571,
    "s": 8.434,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27879,
    "c": 0.01483,
    "h": 330.7
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#2D262C
secondary
#525D54
accent
#B17F76
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050405
muted
#7A797A

Preview Lab

Preview with #2D262C

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

Preview Lab → · Contrast checker → · Palette generator →

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