#2C2834#2C2834

#2C2834 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.6% C 0.022 H 300.2°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#2C2834
RGBrgb(44, 40, 52)
HSLhsl(260, 13%, 18%)
HSVhsv(260, 23%, 20%)
CMYKcmyk(15.4%, 23.1%, 0%, 79.6%)
CIE-LABlab(16.99, 4.82, -7.10)
CIE-LCHlch(16.99, 8.58, 304.20°)
OKLaboklab(28.63% 0.0112 -0.0193)
OKLCHoklch(28.63% 0.022 300.2)
XYZxyz(2.4172, 2.3010, 3.5649)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2834 #303428
analogous
#282A34 #2C2834 #322834
triadic
#2C2834 #342C28 #28342C
tetradic
#2C2834 #34282A #303428 #283432
square
#2C2834 #34282A #303428 #283432
split-complementary
#2C2834 #343228 #2A3428
monochromatic
#0F0D11 #0F0D11 #2C2834 #494357 #675D79

Accessibility & contrast

On white

14.38
#2C2834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2C2834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2834
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2834#FFFFFF#000000##FFFFFF
##2C28341.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262A35
Deuteranopia (green-blind)
#262A34
Tritanopia (blue-blind)
#2B2A2C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c2834;
/* rgb */ color: rgb(44, 40, 52);
/* oklch */ color: oklch(28.6% 0.022 300.2);
Tailwind
colors: {
  custom: {
    50: '#65616b',
    500: '#2c2834',
    950: '#000000',
  },
}
SCSS
$custom: #2c2834;
$custom-light: #65616b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2834",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 260,
    "s": 13.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28626,
    "c": 0.02231,
    "h": 300.2
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#2C2834
secondary
#5F6454
accent
#B6729F
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050506
muted
#7A797A

Preview Lab

Preview with #2C2834

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

Preview Lab → · Contrast checker → · Palette generator →

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