#2C2736#2C2736

#2C2736 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.5% C 0.028 H 299.9°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#2C2736
RGBrgb(44, 39, 54)
HSLhsl(260, 16%, 18%)
HSVhsv(260, 28%, 21%)
CMYKcmyk(18.5%, 27.8%, 0%, 78.8%)
CIE-LABlab(16.76, 6.08, -8.85)
CIE-LCHlch(16.76, 10.74, 304.49°)
OKLaboklab(28.48% 0.0139 -0.0242)
OKLCHoklch(28.48% 0.028 299.9)
XYZxyz(2.4299, 2.2528, 3.7961)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2736 #313627
analogous
#272936 #2C2736 #332736
triadic
#2C2736 #362C27 #27362C
tetradic
#2C2736 #362729 #313627 #273633
square
#2C2736 #362729 #313627 #273633
split-complementary
#2C2736 #363327 #293627
monochromatic
#0E0D12 #0F0D12 #2C2736 #49415A #665A7D

Accessibility & contrast

On white

14.48
#2C2736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2736
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2736#FFFFFF#000000##FFFFFF
##2C27361.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242937
Deuteranopia (green-blind)
#252936
Tritanopia (blue-blind)
#2A292C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c2736;
/* rgb */ color: rgb(44, 39, 54);
/* oklch */ color: oklch(28.5% 0.028 299.9);
Tailwind
colors: {
  custom: {
    50: '#65616d',
    500: '#2c2736',
    950: '#000000',
  },
}
SCSS
$custom: #2c2736;
$custom-light: #65616d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2736",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 54
  },
  "hsl": {
    "h": 260,
    "s": 16.129,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28476,
    "c": 0.02789,
    "h": 299.9
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#2C2736
secondary
#606752
accent
#B96FA0
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050507
muted
#7A797A

Preview Lab

Preview with #2C2736

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

Preview Lab → · Contrast checker → · Palette generator →

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