#2E293F#2E293F

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

Color values

HEX#2E293F
RGBrgb(46, 41, 63)
HSLhsl(254, 21%, 20%)
HSVhsv(254, 35%, 25%)
CMYKcmyk(27%, 34.9%, 0%, 75.3%)
CIE-LABlab(18.03, 8.03, -13.13)
CIE-LCHlch(18.03, 15.39, 301.44°)
OKLaboklab(29.65% 0.0164 -0.0363)
OKLCHoklch(29.65% 0.04 294.3)
XYZxyz(2.8166, 2.5256, 5.0408)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E293F #3A3F29
analogous
#292F3F #2E293F #39293F
triadic
#2E293F #3F2E29 #293F2E
tetradic
#2E293F #3F292F #3A3F29 #293F39
square
#2E293F #3F292F #3A3F29 #293F39
split-complementary
#2E293F #3F3929 #2F3F29
monochromatic
#0E0C13 #13111A #2E293F #494164 #645989

Accessibility & contrast

On white

13.95
#2E293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2E293F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E293F
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E293F#FFFFFF#000000##FFFFFF
##2E293F1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C40
Deuteranopia (green-blind)
#242C3E
Tritanopia (blue-blind)
#2B2D31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e293f;
/* rgb */ color: rgb(46, 41, 63);
/* oklch */ color: oklch(29.6% 0.040 294.3);
Tailwind
colors: {
  custom: {
    50: '#676274',
    500: '#2e293f',
    950: '#000000',
  },
}
SCSS
$custom: #2e293f;
$custom-light: #676274;
$custom-dark: #000000;
JSON
{
  "hex": "#2e293f",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 253.636,
    "s": 21.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2965,
    "c": 0.03982,
    "h": 294.3
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#2E293F
secondary
#6A7053
accent
#BE6AAB
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #2E293F

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

Preview Lab → · Contrast checker → · Palette generator →

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