#2C2A34#2C2A34

#2C2A34 is a dark, near-neutral violet. Relative luminance 0.024; OKLCH L 29.1% C 0.018 H 294.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#2C2A34
RGBrgb(44, 42, 52)
HSLhsl(252, 11%, 18%)
HSVhsv(252, 19%, 20%)
CMYKcmyk(15.4%, 19.2%, 0%, 79.6%)
CIE-LABlab(17.64, 3.42, -6.12)
CIE-LCHlch(17.64, 7.01, 299.21°)
OKLaboklab(29.13% 0.0075 -0.0166)
OKLCHoklch(29.13% 0.018 294.4)
XYZxyz(2.4864, 2.4393, 3.5880)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A34 #32342A
analogous
#2A2D34 #2C2A34 #312A34
triadic
#2C2A34 #342C2A #2A342C
tetradic
#2C2A34 #342A2D #32342A #2A3431
square
#2C2A34 #342A2D #32342A #2A3431
split-complementary
#2C2A34 #34312A #2D342A
monochromatic
#0E0E11 #0F0F12 #2C2A34 #494556 #656178

Accessibility & contrast

On white

14.11
#2C2A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2C2A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A34
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A34#FFFFFF#000000##FFFFFF
##2C2A341.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B34
Deuteranopia (green-blind)
#282B34
Tritanopia (blue-blind)
#2B2B2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2c2a34;
/* rgb */ color: rgb(44, 42, 52);
/* oklch */ color: oklch(29.1% 0.018 294.4);
Tailwind
colors: {
  custom: {
    50: '#65636b',
    500: '#2c2a34',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a34;
$custom-light: #65636b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a34",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 52
  },
  "hsl": {
    "h": 252,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2913,
    "c": 0.0182,
    "h": 294.4
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#2C2A34
secondary
#616456
accent
#B474A7
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#050506
muted
#7A797A

Preview Lab

Preview with #2C2A34

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

Preview Lab → · Contrast checker → · Palette generator →

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