#2E2736#2E2736

#2E2736 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.7% C 0.029 H 305.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#2E2736
RGBrgb(46, 39, 54)
HSLhsl(268, 16%, 18%)
HSVhsv(268, 28%, 21%)
CMYKcmyk(14.8%, 27.8%, 0%, 78.8%)
CIE-LABlab(16.98, 6.90, -8.50)
CIE-LCHlch(16.98, 10.94, 309.06°)
OKLaboklab(28.7% 0.0168 -0.0231)
OKLCHoklch(28.7% 0.029 305.9)
XYZxyz(2.5180, 2.2982, 3.8003)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2736 #2F3627
analogous
#272736 #2E2736 #352736
triadic
#2E2736 #362E27 #27362E
tetradic
#2E2736 #362727 #2F3627 #273635
square
#2E2736 #362727 #2F3627 #273635
split-complementary
#2E2736 #363527 #273627
monochromatic
#0F0D12 #100D12 #2E2736 #4C415A #6B5A7D

Accessibility & contrast

On white

14.39
#2E2736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2E2736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2736
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2736#FFFFFF#000000##FFFFFF
##2E27361.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A37
Deuteranopia (green-blind)
#262A36
Tritanopia (blue-blind)
#2D292C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e2736;
/* rgb */ color: rgb(46, 39, 54);
/* oklch */ color: oklch(28.7% 0.029 305.9);
Tailwind
colors: {
  custom: {
    50: '#66616d',
    500: '#2e2736',
    950: '#000000',
  },
}
SCSS
$custom: #2e2736;
$custom-light: #66616d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2736",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 54
  },
  "hsl": {
    "h": 268,
    "s": 16.129,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28697,
    "c": 0.02857,
    "h": 305.9
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#2E2736
secondary
#5D6752
accent
#B96F96
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060507
muted
#7A797A

Preview Lab

Preview with #2E2736

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

Preview Lab → · Contrast checker → · Palette generator →

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