#2E2436#2E2436

#2E2436 is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.0% C 0.035 H 309.5°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2E2436
RGBrgb(46, 36, 54)
HSLhsl(273, 20%, 18%)
HSVhsv(273, 33%, 21%)
CMYKcmyk(14.8%, 33.3%, 0%, 78.8%)
CIE-LABlab(16.05, 9.02, -9.92)
CIE-LCHlch(16.05, 13.41, 312.27°)
OKLaboklab(27.98% 0.0224 -0.0271)
OKLCHoklch(27.98% 0.035 309.5)
XYZxyz(2.4233, 2.1090, 3.7687)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2436 #2C3624
analogous
#252436 #2E2436 #362435
triadic
#2E2436 #362E24 #24362E
tetradic
#2E2436 #362524 #2C3624 #243536
square
#2E2436 #362524 #2C3624 #243536
split-complementary
#2E2436 #353624 #243625
monochromatic
#100C12 #100C12 #2E2436 #4D3C5B #6D557F

Accessibility & contrast

On white

14.77
#2E2436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E2436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2436
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2436#FFFFFF#000000##FFFFFF
##2E24361.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212737
Deuteranopia (green-blind)
#232835
Tritanopia (blue-blind)
#2D262A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2436;
/* rgb */ color: rgb(46, 36, 54);
/* oklch */ color: oklch(28.0% 0.035 309.5);
Tailwind
colors: {
  custom: {
    50: '#675e6d',
    500: '#2e2436',
    950: '#000000',
  },
}
SCSS
$custom: #2e2436;
$custom-light: #675e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2436",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 54
  },
  "hsl": {
    "h": 273.333,
    "s": 20,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27981,
    "c": 0.03517,
    "h": 309.5
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#2E2436
secondary
#59684E
accent
#BD6B8F
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E2436

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

Preview Lab → · Contrast checker → · Palette generator →

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