#2E2A3A#2E2A3A

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

Color values

HEX#2E2A3A
RGBrgb(46, 42, 58)
HSLhsl(255, 16%, 20%)
HSVhsv(255, 28%, 23%)
CMYKcmyk(20.7%, 27.6%, 0%, 77.3%)
CIE-LABlab(18.11, 5.88, -9.56)
CIE-LCHlch(18.11, 11.23, 301.61°)
OKLaboklab(29.63% 0.0128 -0.0262)
OKLCHoklch(29.63% 0.029 296)
XYZxyz(2.7182, 2.5422, 4.3497)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A3A #363A2A
analogous
#2A2E3A #2E2A3A #362A3A
triadic
#2E2A3A #3A2E2A #2A3A2E
tetradic
#2E2A3A #3A2A2E #363A2A #2A3A36
square
#2E2A3A #3A2A2E #363A2A #2A3A36
split-complementary
#2E2A3A #3A362A #2E3A2A
monochromatic
#0E0D12 #121017 #2E2A3A #4A445D #665D81

Accessibility & contrast

On white

13.92
#2E2A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A3A
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A3A#FFFFFF#000000##FFFFFF
##2E2A3A1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272C3B
Deuteranopia (green-blind)
#272C3A
Tritanopia (blue-blind)
#2C2C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e2a3a;
/* rgb */ color: rgb(46, 42, 58);
/* oklch */ color: oklch(29.6% 0.029 296.0);
Tailwind
colors: {
  custom: {
    50: '#676370',
    500: '#2e2a3a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a3a;
$custom-light: #676370;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a3a",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 58
  },
  "hsl": {
    "h": 255,
    "s": 16,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29628,
    "c": 0.02913,
    "h": 296
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#2E2A3A
secondary
#656B55
accent
#B96FA6
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2E2A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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