#2D262E#2D262E

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

Color values

HEX#2D262E
RGBrgb(45, 38, 46)
HSLhsl(293, 10%, 16%)
HSVhsv(293, 17%, 18%)
CMYKcmyk(2.2%, 17.4%, 0%, 82%)
CIE-LABlab(16.21, 5.11, -4.04)
CIE-LCHlch(16.21, 6.51, 321.68°)
OKLaboklab(27.97% 0.0139 -0.0108)
OKLCHoklch(27.97% 0.018 322.1)
XYZxyz(2.2684, 2.1414, 2.8781)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D262E #272E26
analogous
#29262E #2D262E #2E262B
triadic
#2D262E #2E2D26 #262E2D
tetradic
#2D262E #2E2926 #272E26 #262B2E
square
#2D262E #2E2926 #272E26 #262B2E
split-complementary
#2D262E #2B2E26 #262E29
monochromatic
#100E11 #100E11 #2D262E #4E4250 #6F5D71

Accessibility & contrast

On white

14.70
#2D262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D262E
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D262E#FFFFFF#000000##FFFFFF
##2D262E1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d262e;
/* rgb */ color: rgb(45, 38, 46);
/* oklch */ color: oklch(28.0% 0.018 322.1);
Tailwind
colors: {
  custom: {
    50: '#656066',
    500: '#2d262e',
    950: '#000000',
  },
}
SCSS
$custom: #2d262e;
$custom-light: #656066;
$custom-dark: #000000;
JSON
{
  "hex": "#2d262e",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 292.5,
    "s": 9.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27965,
    "c": 0.01756,
    "h": 322.1
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#2D262E
secondary
#545E52
accent
#B3757D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2D262E

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

Preview Lab → · Contrast checker → · Palette generator →

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