#2C282F#2C282F

#2C282F is a dark, near-neutral violet. Relative luminance 0.023; OKLCH L 28.4% C 0.014 H 310.9°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#2C282F
RGBrgb(44, 40, 47)
HSLhsl(274, 8%, 17%)
HSVhsv(274, 15%, 18%)
CMYKcmyk(6.4%, 14.9%, 0%, 81.6%)
CIE-LABlab(16.79, 3.51, -3.89)
CIE-LCHlch(16.79, 5.24, 312.05°)
OKLaboklab(28.4% 0.009 -0.0104)
OKLCHoklch(28.4% 0.014 310.9)
XYZxyz(2.3105, 2.2583, 3.0029)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C282F #2B2F28
analogous
#29282F #2C282F #2F282F
triadic
#2C282F #2F2C28 #282F2C
tetradic
#2C282F #2F2928 #2B2F28 #282F2F
square
#2C282F #2F2928 #2B2F28 #282F2F
split-complementary
#2C282F #2F2F28 #282F29
monochromatic
#0F0E11 #0F0E11 #2C282F #4B4450 #6A6071

Accessibility & contrast

On white

14.47
#2C282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2C282F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C282F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C282F#FFFFFF#000000##FFFFFF
##2C282F1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#282A2F
Tritanopia (blue-blind)
#2C292A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c282f;
/* rgb */ color: rgb(44, 40, 47);
/* oklch */ color: oklch(28.4% 0.014 310.9);
Tailwind
colors: {
  custom: {
    50: '#656167',
    500: '#2c282f',
    950: '#000000',
  },
}
SCSS
$custom: #2c282f;
$custom-light: #656167;
$custom-dark: #000000;
JSON
{
  "hex": "#2c282f",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 274.286,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28399,
    "c": 0.0138,
    "h": 310.9
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#2C282F
secondary
#595E54
accent
#B17790
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050506
muted
#7A797A

Preview Lab

Preview with #2C282F

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

Preview Lab → · Contrast checker → · Palette generator →

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