#2E2C38#2E2C38

#2E2C38 is a dark, muted violet. Relative luminance 0.027; OKLCH L 30.0% C 0.022 H 292.7°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#2E2C38
RGBrgb(46, 44, 56)
HSLhsl(250, 12%, 20%)
HSVhsv(250, 21%, 22%)
CMYKcmyk(17.9%, 21.4%, 0%, 78%)
CIE-LABlab(18.66, 3.93, -7.34)
CIE-LCHlch(18.66, 8.32, 298.19°)
OKLaboklab(30.03% 0.0083 -0.0199)
OKLCHoklch(30.03% 0.022 292.7)
XYZxyz(2.7411, 2.6677, 4.1111)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C38 #36382C
analogous
#2C3038 #2E2C38 #342C38
triadic
#2E2C38 #382E2C #2C382E
tetradic
#2E2C38 #382C30 #36382C #2C3834
square
#2E2C38 #382C30 #36382C #2C3834
split-complementary
#2E2C38 #38342C #30382C
monochromatic
#0E0D11 #121116 #2E2C38 #4A475A #66627D

Accessibility & contrast

On white

13.69
#2E2C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2E2C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C38
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C38#FFFFFF#000000##FFFFFF
##2E2C381.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E39
Deuteranopia (green-blind)
#2A2D38
Tritanopia (blue-blind)
#2C2E30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2c38;
/* rgb */ color: rgb(46, 44, 56);
/* oklch */ color: oklch(30.0% 0.022 292.7);
Tailwind
colors: {
  custom: {
    50: '#66656e',
    500: '#2e2c38',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c38;
$custom-light: #66656e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c38",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 56
  },
  "hsl": {
    "h": 250,
    "s": 12,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30028,
    "c": 0.02162,
    "h": 292.7
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#2E2C38
secondary
#656858
accent
#B573AA
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060507
muted
#7A7A7A

Preview Lab

Preview with #2E2C38

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

Preview Lab → · Contrast checker → · Palette generator →

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