#2E293C#2E293C

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

Color values

HEX#2E293C
RGBrgb(46, 41, 60)
HSLhsl(256, 19%, 20%)
HSVhsv(256, 32%, 24%)
CMYKcmyk(23.3%, 31.7%, 0%, 76.5%)
CIE-LABlab(17.89, 7.16, -11.29)
CIE-LCHlch(17.89, 13.37, 302.38°)
OKLaboklab(29.49% 0.0153 -0.031)
OKLCHoklch(29.49% 0.035 296.3)
XYZxyz(2.7351, 2.4929, 4.6112)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E293C #373C29
analogous
#292E3C #2E293C #38293C
triadic
#2E293C #3C2E29 #293C2E
tetradic
#2E293C #3C292E #373C29 #293C38
square
#2E293C #3C292E #373C29 #293C38
split-complementary
#2E293C #3C3829 #2E3C29
monochromatic
#0E0C12 #121018 #2E293C #4A4260 #665B85

Accessibility & contrast

On white

14.01
#2E293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E293C
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E293C#FFFFFF#000000##FFFFFF
##2E293C1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e293c;
/* rgb */ color: rgb(46, 41, 60);
/* oklch */ color: oklch(29.5% 0.035 296.3);
Tailwind
colors: {
  custom: {
    50: '#676271',
    500: '#2e293c',
    950: '#000000',
  },
}
SCSS
$custom: #2e293c;
$custom-light: #676271;
$custom-dark: #000000;
JSON
{
  "hex": "#2e293c",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 255.789,
    "s": 18.812,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29488,
    "c": 0.03462,
    "h": 296.3
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#2E293C
secondary
#666D54
accent
#BB6CA7
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2E293C

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

Preview Lab → · Contrast checker → · Palette generator →

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