#2E293E#2E293E

#2E293E is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.6% C 0.038 H 294.9°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#2E293E
RGBrgb(46, 41, 62)
HSLhsl(254, 20%, 20%)
HSVhsv(254, 34%, 24%)
CMYKcmyk(25.8%, 33.9%, 0%, 75.7%)
CIE-LABlab(17.98, 7.74, -12.52)
CIE-LCHlch(17.98, 14.72, 301.71°)
OKLaboklab(29.6% 0.016 -0.0345)
OKLCHoklch(29.6% 0.038 294.9)
XYZxyz(2.7890, 2.5145, 4.8949)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E293E #393E29
analogous
#292E3E #2E293E #38293E
triadic
#2E293E #3E2E29 #293E2E
tetradic
#2E293E #3E292E #393E29 #293E38
square
#2E293E #3E292E #393E29 #293E38
split-complementary
#2E293E #3E3829 #2E3E29
monochromatic
#0E0C12 #131119 #2E293E #494163 #655A88

Accessibility & contrast

On white

13.97
#2E293E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E293E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E293E#FFFFFF#000000##FFFFFF
##2E293E1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3F
Deuteranopia (green-blind)
#252C3D
Tritanopia (blue-blind)
#2B2C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e293e;
/* rgb */ color: rgb(46, 41, 62);
/* oklch */ color: oklch(29.6% 0.038 294.9);
Tailwind
colors: {
  custom: {
    50: '#676273',
    500: '#2e293e',
    950: '#000000',
  },
}
SCSS
$custom: #2e293e;
$custom-light: #676273;
$custom-dark: #000000;
JSON
{
  "hex": "#2e293e",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 62
  },
  "hsl": {
    "h": 254.286,
    "s": 20.388,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29595,
    "c": 0.03809,
    "h": 294.9
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#2E293E
secondary
#696F53
accent
#BD6BA9
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060508
muted
#7A797B

Preview Lab

Preview with #2E293E

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

Preview Lab → · Contrast checker → · Palette generator →

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