#2E2733#2E2733

#2E2733 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.6% C 0.024 H 311.1°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2E2733
RGBrgb(46, 39, 51)
HSLhsl(275, 13%, 18%)
HSVhsv(275, 24%, 20%)
CMYKcmyk(9.8%, 23.5%, 0%, 80%)
CIE-LABlab(16.85, 6.10, -6.59)
CIE-LCHlch(16.85, 8.98, 312.79°)
OKLaboklab(28.55% 0.0155 -0.0178)
OKLCHoklch(28.55% 0.024 311.1)
XYZxyz(2.4497, 2.2709, 3.4406)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2733 #2C3327
analogous
#282733 #2E2733 #332732
triadic
#2E2733 #332E27 #27332E
tetradic
#2E2733 #332827 #2C3327 #273233
square
#2E2733 #332827 #2C3327 #273233
split-complementary
#2E2733 #323327 #273328
monochromatic
#100D11 #100D11 #2E2733 #4D4256 #6D5C78

Accessibility & contrast

On white

14.44
#2E2733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2733
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2733#FFFFFF#000000##FFFFFF
##2E27331.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252934
Deuteranopia (green-blind)
#272A33
Tritanopia (blue-blind)
#2E282B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e2733;
/* rgb */ color: rgb(46, 39, 51);
/* oklch */ color: oklch(28.6% 0.024 311.1);
Tailwind
colors: {
  custom: {
    50: '#66616a',
    500: '#2e2733',
    950: '#000000',
  },
}
SCSS
$custom: #2e2733;
$custom-light: #66616a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2733",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 51
  },
  "hsl": {
    "h": 275,
    "s": 13.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28553,
    "c": 0.02366,
    "h": 311.1
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#2E2733
secondary
#596352
accent
#B6728E
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2E2733

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

Preview Lab → · Contrast checker → · Palette generator →

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