#2E2A3C#2E2A3C

#2E2A3C is a dark, muted violet. Relative luminance 0.026; OKLCH L 29.7% C 0.033 H 294.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#2E2A3C
RGBrgb(46, 42, 60)
HSLhsl(253, 18%, 20%)
HSVhsv(253, 30%, 24%)
CMYKcmyk(23.3%, 30%, 0%, 76.5%)
CIE-LABlab(18.20, 6.45, -10.80)
CIE-LCHlch(18.20, 12.58, 300.84°)
OKLaboklab(29.73% 0.0135 -0.0297)
OKLCHoklch(29.73% 0.033 294.5)
XYZxyz(2.7701, 2.5630, 4.6229)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A3C #383C2A
analogous
#2A2F3C #2E2A3C #372A3C
triadic
#2E2A3C #3C2E2A #2A3C2E
tetradic
#2E2A3C #3C2A2F #383C2A #2A3C37
square
#2E2A3C #3C2A2F #383C2A #2A3C37
split-complementary
#2E2A3C #3C372A #2F3C2A
monochromatic
#0E0D12 #121118 #2E2A3C #4A4360 #655C84

Accessibility & contrast

On white

13.88
#2E2A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A3C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A3C#FFFFFF#000000##FFFFFF
##2E2A3C1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262D3D
Deuteranopia (green-blind)
#262C3B
Tritanopia (blue-blind)
#2B2D30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e2a3c;
/* rgb */ color: rgb(46, 42, 60);
/* oklch */ color: oklch(29.7% 0.033 294.5);
Tailwind
colors: {
  custom: {
    50: '#676371',
    500: '#2e2a3c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a3c;
$custom-light: #676371;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a3c",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 60
  },
  "hsl": {
    "h": 253.333,
    "s": 17.647,
    "l": 20
  },
  "oklch": {
    "l": 0.29731,
    "c": 0.03262,
    "h": 294.5
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#2E2A3C
secondary
#686D55
accent
#BA6DA9
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2E2A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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