#2E2832#2E2832

#2E2832 is a dark, near-neutral violet. Relative luminance 0.023; OKLCH L 28.8% C 0.020 H 311.8°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#2E2832
RGBrgb(46, 40, 50)
HSLhsl(276, 11%, 18%)
HSVhsv(276, 20%, 20%)
CMYKcmyk(8%, 20%, 0%, 80.4%)
CIE-LABlab(17.13, 5.14, -5.47)
CIE-LCHlch(17.13, 7.51, 313.19°)
OKLaboklab(28.75% 0.0132 -0.0147)
OKLCHoklch(28.75% 0.02 311.8)
XYZxyz(2.4611, 2.3287, 3.3368)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2832 #2C3228
analogous
#292832 #2E2832 #322831
triadic
#2E2832 #322E28 #28322E
tetradic
#2E2832 #322928 #2C3228 #283132
square
#2E2832 #322928 #2C3228 #283132
split-complementary
#2E2832 #313228 #283229
monochromatic
#100E11 #100E11 #2E2832 #4D4354 #6D5E76

Accessibility & contrast

On white

14.33
#2E2832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2E2832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2832
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2832#FFFFFF#000000##FFFFFF
##2E28321.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A32
Deuteranopia (green-blind)
#282A32
Tritanopia (blue-blind)
#2E292B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e2832;
/* rgb */ color: rgb(46, 40, 50);
/* oklch */ color: oklch(28.8% 0.020 311.8);
Tailwind
colors: {
  custom: {
    50: '#666169',
    500: '#2e2832',
    950: '#000000',
  },
}
SCSS
$custom: #2e2832;
$custom-light: #666169;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2832",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 50
  },
  "hsl": {
    "h": 276,
    "s": 11.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28753,
    "c": 0.0198,
    "h": 311.8
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#2E2832
secondary
#596254
accent
#B4748D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2E2832

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

Preview Lab → · Contrast checker → · Palette generator →

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