#2C2434#2C2434

#2C2434 is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.6% C 0.031 H 307.2°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#2C2434
RGBrgb(44, 36, 52)
HSLhsl(270, 18%, 17%)
HSVhsv(270, 31%, 20%)
CMYKcmyk(15.4%, 30.8%, 0%, 79.6%)
CIE-LABlab(15.72, 7.66, -9.03)
CIE-LCHlch(15.72, 11.84, 310.31°)
OKLaboklab(27.64% 0.0187 -0.0247)
OKLCHoklch(27.64% 0.031 307.2)
XYZxyz(2.2893, 2.0452, 3.5223)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2434 #2C3424
analogous
#242434 #2C2434 #342434
triadic
#2C2434 #342C24 #24342C
tetradic
#2C2434 #342424 #2C3424 #243434
square
#2C2434 #342424 #2C3424 #243434
split-complementary
#2C2434 #343424 #243424
monochromatic
#0F0D12 #0F0D12 #2C2434 #4B3D58 #69567C

Accessibility & contrast

On white

14.90
#2C2434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2C2434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2434
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2434#FFFFFF#000000##FFFFFF
##2C24341.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212735
Deuteranopia (green-blind)
#232734
Tritanopia (blue-blind)
#2B262A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2c2434;
/* rgb */ color: rgb(44, 36, 52);
/* oklch */ color: oklch(27.6% 0.031 307.2);
Tailwind
colors: {
  custom: {
    50: '#655e6b',
    500: '#2c2434',
    950: '#000000',
  },
}
SCSS
$custom: #2c2434;
$custom-light: #655e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2434",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 52
  },
  "hsl": {
    "h": 270,
    "s": 18.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27644,
    "c": 0.03097,
    "h": 307.2
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#2C2434
secondary
#5A654E
accent
#BB6D94
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2C2434

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

Preview Lab → · Contrast checker → · Palette generator →

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