#2C2830#2C2830

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

Color values

HEX#2C2830
RGBrgb(44, 40, 48)
HSLhsl(270, 9%, 17%)
HSVhsv(270, 17%, 19%)
CMYKcmyk(8.3%, 16.7%, 0%, 81.2%)
CIE-LABlab(16.83, 3.77, -4.54)
CIE-LCHlch(16.83, 5.90, 309.69°)
OKLaboklab(28.44% 0.0095 -0.0122)
OKLCHoklch(28.44% 0.015 307.9)
XYZxyz(2.3309, 2.2665, 3.1104)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2830 #2C3028
analogous
#282830 #2C2830 #302830
triadic
#2C2830 #302C28 #28302C
tetradic
#2C2830 #302828 #2C3028 #283030
square
#2C2830 #302828 #2C3028 #283030
split-complementary
#2C2830 #303028 #283028
monochromatic
#0F0E11 #0F0E11 #2C2830 #4B4451 #696073

Accessibility & contrast

On white

14.45
#2C2830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2830
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2830#FFFFFF#000000##FFFFFF
##2C28301.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272930
Deuteranopia (green-blind)
#282A30
Tritanopia (blue-blind)
#2C292B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c2830;
/* rgb */ color: rgb(44, 40, 48);
/* oklch */ color: oklch(28.4% 0.015 307.9);
Tailwind
colors: {
  custom: {
    50: '#656168',
    500: '#2c2830',
    950: '#000000',
  },
}
SCSS
$custom: #2c2830;
$custom-light: #656168;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2830",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 270,
    "s": 9.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28442,
    "c": 0.01546,
    "h": 307.9
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#2C2830
secondary
#5A6054
accent
#B27694
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050506
muted
#7A797A

Preview Lab

Preview with #2C2830

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

Preview Lab → · Contrast checker → · Palette generator →

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