#2E293B#2E293B

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

Color values

HEX#2E293B
RGBrgb(46, 41, 59)
HSLhsl(257, 18%, 20%)
HSVhsv(257, 31%, 23%)
CMYKcmyk(22%, 30.5%, 0%, 76.9%)
CIE-LABlab(17.84, 6.87, -10.67)
CIE-LCHlch(17.84, 12.69, 302.78°)
OKLaboklab(29.44% 0.015 -0.0293)
OKLCHoklch(29.44% 0.033 297.1)
XYZxyz(2.7089, 2.4825, 4.4733)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E293B #363B29
analogous
#292D3B #2E293B #37293B
triadic
#2E293B #3B2E29 #293B2E
tetradic
#2E293B #3B292D #363B29 #293B37
square
#2E293B #3B292D #363B29 #293B37
split-complementary
#2E293B #3B3729 #2D3B29
monochromatic
#0E0D12 #121017 #2E293B #4A425F #665B83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E293B#FFFFFF#000000##FFFFFF
##2E293B1.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)
#252C3C
Deuteranopia (green-blind)
#262B3A
Tritanopia (blue-blind)
#2C2C2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e293b;
/* rgb */ color: rgb(46, 41, 59);
/* oklch */ color: oklch(29.4% 0.033 297.1);
Tailwind
colors: {
  custom: {
    50: '#676271',
    500: '#2e293b',
    950: '#000000',
  },
}
SCSS
$custom: #2e293b;
$custom-light: #676271;
$custom-dark: #000000;
JSON
{
  "hex": "#2e293b",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 256.667,
    "s": 18,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29436,
    "c": 0.03288,
    "h": 297.1
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#2E293B
secondary
#656C54
accent
#BB6DA5
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2E293B

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

Preview Lab → · Contrast checker → · Palette generator →

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