#2E2A36#2E2A36

#2E2A36 is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.4% C 0.022 H 300.3°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#2E2A36
RGBrgb(46, 42, 54)
HSLhsl(260, 13%, 19%)
HSVhsv(260, 22%, 21%)
CMYKcmyk(14.8%, 22.2%, 0%, 78.8%)
CIE-LABlab(17.93, 4.79, -7.05)
CIE-LCHlch(17.93, 8.52, 304.17°)
OKLaboklab(29.43% 0.0112 -0.0191)
OKLCHoklch(29.43% 0.022 300.3)
XYZxyz(2.6204, 2.5031, 3.8344)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A36 #32362A
analogous
#2A2C36 #2E2A36 #342A36
triadic
#2E2A36 #362E2A #2A362E
tetradic
#2E2A36 #362A2C #32362A #2A3634
square
#2E2A36 #362A2C #32362A #2A3634
split-complementary
#2E2A36 #36342A #2C362A
monochromatic
#0F0D11 #110F14 #2E2A36 #4B4558 #69607B

Accessibility & contrast

On white

13.99
#2E2A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2E2A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A36
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A36#FFFFFF#000000##FFFFFF
##2E2A361.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282C37
Deuteranopia (green-blind)
#282C36
Tritanopia (blue-blind)
#2D2C2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e2a36;
/* rgb */ color: rgb(46, 42, 54);
/* oklch */ color: oklch(29.4% 0.022 300.3);
Tailwind
colors: {
  custom: {
    50: '#66636d',
    500: '#2e2a36',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a36;
$custom-light: #66636d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a36",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 54
  },
  "hsl": {
    "h": 260,
    "s": 12.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29434,
    "c": 0.02216,
    "h": 300.3
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#2E2A36
secondary
#616656
accent
#B5729F
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060507
muted
#7A797A

Preview Lab

Preview with #2E2A36

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

Preview Lab → · Contrast checker → · Palette generator →

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