#2D252E#2D252E

#2D252E is a dark, near-neutral purple. Relative luminance 0.021; OKLCH L 27.7% C 0.020 H 322.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#2D252E
RGBrgb(45, 37, 46)
HSLhsl(293, 11%, 16%)
HSVhsv(293, 20%, 18%)
CMYKcmyk(2.2%, 19.6%, 0%, 82%)
CIE-LABlab(15.89, 5.82, -4.52)
CIE-LCHlch(15.89, 7.36, 322.16°)
OKLaboklab(27.72% 0.0158 -0.0121)
OKLCHoklch(27.72% 0.02 322.5)
XYZxyz(2.2368, 2.0783, 2.8676)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D252E #262E25
analogous
#29252E #2D252E #2E252B
triadic
#2D252E #2E2D25 #252E2D
tetradic
#2D252E #2E2925 #262E25 #252B2E
square
#2D252E #2E2925 #262E25 #252B2E
split-complementary
#2D252E #2B2E25 #252E29
monochromatic
#110E11 #110E11 #2D252E #4E4050 #6F5C72

Accessibility & contrast

On white

14.83
#2D252E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D252E
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D252E#FFFFFF#000000##FFFFFF
##2D252E1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d252e;
/* rgb */ color: rgb(45, 37, 46);
/* oklch */ color: oklch(27.7% 0.020 322.5);
Tailwind
colors: {
  custom: {
    50: '#665f66',
    500: '#2d252e',
    950: '#000000',
  },
}
SCSS
$custom: #2d252e;
$custom-light: #665f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d252e",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 46
  },
  "hsl": {
    "h": 293.333,
    "s": 10.843,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27717,
    "c": 0.01989,
    "h": 322.5
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#2D252E
secondary
#525E51
accent
#B4747B
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2D252E

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

Preview Lab → · Contrast checker → · Palette generator →

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