#2E2434#2E2434

#2E2434 is a dark, muted violet. Relative luminance 0.021; OKLCH L 27.9% C 0.032 H 312.5°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#2E2434
RGBrgb(46, 36, 52)
HSLhsl(278, 18%, 17%)
HSVhsv(278, 31%, 20%)
CMYKcmyk(11.5%, 30.8%, 0%, 79.6%)
CIE-LABlab(15.96, 8.48, -8.65)
CIE-LCHlch(15.96, 12.12, 314.43°)
OKLaboklab(27.88% 0.0216 -0.0236)
OKLCHoklch(27.88% 0.032 312.5)
XYZxyz(2.3773, 2.0906, 3.5264)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2434 #2A3424
analogous
#262434 #2E2434 #342432
triadic
#2E2434 #342E24 #24342E
tetradic
#2E2434 #342624 #2A3424 #243234
square
#2E2434 #342624 #2A3424 #243234
split-complementary
#2E2434 #323424 #243426
monochromatic
#100D12 #100D12 #2E2434 #4E3D58 #6E567C

Accessibility & contrast

On white

14.81
#2E2434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2434
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2434#FFFFFF#000000##FFFFFF
##2E24341.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222735
Deuteranopia (green-blind)
#242833
Tritanopia (blue-blind)
#2E262A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2434;
/* rgb */ color: rgb(46, 36, 52);
/* oklch */ color: oklch(27.9% 0.032 312.5);
Tailwind
colors: {
  custom: {
    50: '#675e6b',
    500: '#2e2434',
    950: '#000000',
  },
}
SCSS
$custom: #2e2434;
$custom-light: #675e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2434",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 52
  },
  "hsl": {
    "h": 277.5,
    "s": 18.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27878,
    "c": 0.03199,
    "h": 312.5
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#2E2434
secondary
#57654E
accent
#BB6D8A
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2E2434

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

Preview Lab → · Contrast checker → · Palette generator →

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