#2E2A42#2E2A42

#2E2A42 is a dark, muted violet. Relative luminance 0.026; OKLCH L 30.1% C 0.043 H 291.2°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#2E2A42
RGBrgb(46, 42, 66)
HSLhsl(250, 22%, 21%)
HSVhsv(250, 36%, 26%)
CMYKcmyk(30.3%, 36.4%, 0%, 74.1%)
CIE-LABlab(18.50, 8.22, -14.48)
CIE-LCHlch(18.50, 16.65, 299.58°)
OKLaboklab(30.06% 0.0156 -0.0402)
OKLCHoklch(30.06% 0.043 291.2)
XYZxyz(2.9378, 2.6301, 5.5061)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A42 #3E422A
analogous
#2A3242 #2E2A42 #3A2A42
triadic
#2E2A42 #422E2A #2A422E
tetradic
#2E2A42 #422A32 #3E422A #2A423A
square
#2E2A42 #422A32 #3E422A #2A423A
split-complementary
#2E2A42 #423A2A #32422A
monochromatic
#0D0C13 #14121D #2E2A42 #484267 #625A8D

Accessibility & contrast

On white

13.76
#2E2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2E2A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A42
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A42#FFFFFF#000000##FFFFFF
##2E2A421.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D43
Deuteranopia (green-blind)
#242D41
Tritanopia (blue-blind)
#2A2E33
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2a42;
/* rgb */ color: rgb(46, 42, 66);
/* oklch */ color: oklch(30.1% 0.043 291.2);
Tailwind
colors: {
  custom: {
    50: '#676376',
    500: '#2e2a42',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a42;
$custom-light: #676376;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a42",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 250,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30056,
    "c": 0.04308,
    "h": 291.2
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#2E2A42
secondary
#6E7354
accent
#BF69B0
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #2E2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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