#2E2634#2E2634

#2E2634 is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.028 H 310.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#2E2634
RGBrgb(46, 38, 52)
HSLhsl(274, 16%, 18%)
HSVhsv(274, 27%, 20%)
CMYKcmyk(11.5%, 26.9%, 0%, 79.6%)
CIE-LABlab(16.58, 7.07, -7.71)
CIE-LCHlch(16.58, 10.46, 312.53°)
OKLaboklab(28.36% 0.0178 -0.0209)
OKLCHoklch(28.36% 0.028 310.4)
XYZxyz(2.4396, 2.2150, 3.5472)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2634 #2C3426
analogous
#272634 #2E2634 #342633
triadic
#2E2634 #342E26 #26342E
tetradic
#2E2634 #342726 #2C3426 #263334
square
#2E2634 #342726 #2C3426 #263334
split-complementary
#2E2634 #333426 #263427
monochromatic
#100D12 #100D12 #2E2634 #4D4057 #6D5A7B

Accessibility & contrast

On white

14.55
#2E2634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E2634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2634
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2634#FFFFFF#000000##FFFFFF
##2E26341.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242935
Deuteranopia (green-blind)
#252934
Tritanopia (blue-blind)
#2D282B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2634;
/* rgb */ color: rgb(46, 38, 52);
/* oklch */ color: oklch(28.4% 0.028 310.4);
Tailwind
colors: {
  custom: {
    50: '#66606b',
    500: '#2e2634',
    950: '#000000',
  },
}
SCSS
$custom: #2e2634;
$custom-light: #66606b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2634",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 52
  },
  "hsl": {
    "h": 274.286,
    "s": 15.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28357,
    "c": 0.0275,
    "h": 310.4
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#2E2634
secondary
#596551
accent
#B86F8F
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2E2634

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

Preview Lab → · Contrast checker → · Palette generator →

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