#2E2A41#2E2A41

#2E2A41 is a dark, muted violet. Relative luminance 0.026; OKLCH L 30.0% C 0.041 H 291.7°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#2E2A41
RGBrgb(46, 42, 65)
HSLhsl(250, 21%, 21%)
HSVhsv(250, 35%, 25%)
CMYKcmyk(29.2%, 35.4%, 0%, 74.5%)
CIE-LABlab(18.45, 7.92, -13.87)
CIE-LCHlch(18.45, 15.98, 299.72°)
OKLaboklab(30% 0.0153 -0.0384)
OKLCHoklch(30% 0.041 291.7)
XYZxyz(2.9086, 2.6184, 5.3522)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A41 #3D412A
analogous
#2A3141 #2E2A41 #392A41
triadic
#2E2A41 #412E2A #2A412E
tetradic
#2E2A41 #412A31 #3D412A #2A4139
square
#2E2A41 #412A31 #3D412A #2A4139
split-complementary
#2E2A41 #41392A #31412A
monochromatic
#0D0C13 #14121C #2E2A41 #484266 #635A8B

Accessibility & contrast

On white

13.78
#2E2A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2E2A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A41
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A41#FFFFFF#000000##FFFFFF
##2E2A411.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D42
Deuteranopia (green-blind)
#242D40
Tritanopia (blue-blind)
#2A2E32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2a41;
/* rgb */ color: rgb(46, 42, 65);
/* oklch */ color: oklch(30.0% 0.041 291.7);
Tailwind
colors: {
  custom: {
    50: '#676375',
    500: '#2e2a41',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a41;
$custom-light: #676375;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a41",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 65
  },
  "hsl": {
    "h": 250.435,
    "s": 21.495,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3,
    "c": 0.04135,
    "h": 291.7
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#2E2A41
secondary
#6D7254
accent
#BE6AAF
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #2E2A41

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

Preview Lab → · Contrast checker → · Palette generator →

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