#2E293A#2E293A

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

Color values

HEX#2E293A
RGBrgb(46, 41, 58)
HSLhsl(258, 17%, 19%)
HSVhsv(258, 29%, 23%)
CMYKcmyk(20.7%, 29.3%, 0%, 77.3%)
CIE-LABlab(17.79, 6.59, -10.05)
CIE-LCHlch(17.79, 12.01, 303.26°)
OKLaboklab(29.38% 0.0146 -0.0275)
OKLCHoklch(29.38% 0.031 297.9)
XYZxyz(2.6832, 2.4722, 4.3380)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E293A #353A29
analogous
#292D3A #2E293A #37293A
triadic
#2E293A #3A2E29 #293A2E
tetradic
#2E293A #3A292D #353A29 #293A37
square
#2E293A #3A292D #353A29 #293A37
split-complementary
#2E293A #3A3729 #2D3A29
monochromatic
#0E0D12 #121016 #2E293A #4A425E #675C82

Accessibility & contrast

On white

14.05
#2E293A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2E293A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E293A
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E293A#FFFFFF#000000##FFFFFF
##2E293A1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252C3B
Deuteranopia (green-blind)
#262B3A
Tritanopia (blue-blind)
#2C2C2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e293a;
/* rgb */ color: rgb(46, 41, 58);
/* oklch */ color: oklch(29.4% 0.031 297.9);
Tailwind
colors: {
  custom: {
    50: '#676270',
    500: '#2e293a',
    950: '#000000',
  },
}
SCSS
$custom: #2e293a;
$custom-light: #676270;
$custom-dark: #000000;
JSON
{
  "hex": "#2e293a",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 58
  },
  "hsl": {
    "h": 257.647,
    "s": 17.172,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29384,
    "c": 0.03116,
    "h": 297.9
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#2E293A
secondary
#646B54
accent
#BA6EA4
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2E293A

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

Preview Lab → · Contrast checker → · Palette generator →

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