#2E293D#2E293D

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

Color values

HEX#2E293D
RGBrgb(46, 41, 61)
HSLhsl(255, 20%, 20%)
HSVhsv(255, 33%, 24%)
CMYKcmyk(24.6%, 32.8%, 0%, 76.1%)
CIE-LABlab(17.93, 7.45, -11.91)
CIE-LCHlch(17.93, 14.04, 302.02°)
OKLaboklab(29.54% 0.0157 -0.0328)
OKLCHoklch(29.54% 0.036 295.6)
XYZxyz(2.7618, 2.5036, 4.7517)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E293D #383D29
analogous
#292E3D #2E293D #38293D
triadic
#2E293D #3D2E29 #293D2E
tetradic
#2E293D #3D292E #383D29 #293D38
square
#2E293D #3D292E #383D29 #293D38
split-complementary
#2E293D #3D3829 #2E3D29
monochromatic
#0E0C12 #121018 #2E293D #4A4262 #655A86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E293D#FFFFFF#000000##FFFFFF
##2E293D1.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)
#242C3E
Deuteranopia (green-blind)
#252C3C
Tritanopia (blue-blind)
#2B2C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e293d;
/* rgb */ color: rgb(46, 41, 61);
/* oklch */ color: oklch(29.5% 0.036 295.6);
Tailwind
colors: {
  custom: {
    50: '#676272',
    500: '#2e293d',
    950: '#000000',
  },
}
SCSS
$custom: #2e293d;
$custom-light: #676272;
$custom-dark: #000000;
JSON
{
  "hex": "#2e293d",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 61
  },
  "hsl": {
    "h": 255,
    "s": 19.608,
    "l": 20
  },
  "oklch": {
    "l": 0.29541,
    "c": 0.03636,
    "h": 295.6
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#2E293D
secondary
#686E54
accent
#BC6CA8
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060508
muted
#7A797B

Preview Lab

Preview with #2E293D

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

Preview Lab → · Contrast checker → · Palette generator →

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