#2E2A34#2E2A34

#2E2A34 is a dark, near-neutral violet. Relative luminance 0.025; OKLCH L 29.3% C 0.019 H 303.4°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#2E2A34
RGBrgb(46, 42, 52)
HSLhsl(264, 11%, 18%)
HSVhsv(264, 19%, 20%)
CMYKcmyk(11.5%, 19.2%, 0%, 79.6%)
CIE-LABlab(17.85, 4.26, -5.78)
CIE-LCHlch(17.85, 7.18, 306.35°)
OKLaboklab(29.34% 0.0103 -0.0156)
OKLCHoklch(29.34% 0.019 303.4)
XYZxyz(2.5744, 2.4847, 3.5921)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A34 #30342A
analogous
#2A2B34 #2E2A34 #332A34
triadic
#2E2A34 #342E2A #2A342E
tetradic
#2E2A34 #342A2B #30342A #2A3433
square
#2E2A34 #342A2B #30342A #2A3433
split-complementary
#2E2A34 #34332A #2B342A
monochromatic
#0F0E11 #100F12 #2E2A34 #4C4556 #6A6178

Accessibility & contrast

On white

14.03
#2E2A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A34
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A34#FFFFFF#000000##FFFFFF
##2E2A341.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282C34
Deuteranopia (green-blind)
#292C34
Tritanopia (blue-blind)
#2D2B2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e2a34;
/* rgb */ color: rgb(46, 42, 52);
/* oklch */ color: oklch(29.3% 0.019 303.4);
Tailwind
colors: {
  custom: {
    50: '#66636b',
    500: '#2e2a34',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a34;
$custom-light: #66636b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a34",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 52
  },
  "hsl": {
    "h": 264,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29342,
    "c": 0.01872,
    "h": 303.4
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#2E2A34
secondary
#5E6456
accent
#B4749A
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2E2A34

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

Preview Lab → · Contrast checker → · Palette generator →

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