#2E2638#2E2638

#2E2638 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.6% C 0.034 H 304.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#2E2638
RGBrgb(46, 38, 56)
HSLhsl(267, 19%, 18%)
HSVhsv(267, 32%, 22%)
CMYKcmyk(17.9%, 32.1%, 0%, 78%)
CIE-LABlab(16.76, 8.15, -10.23)
CIE-LCHlch(16.76, 13.08, 308.53°)
OKLaboklab(28.56% 0.0194 -0.028)
OKLCHoklch(28.56% 0.034 304.6)
XYZxyz(2.5335, 2.2526, 4.0419)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2638 #303826
analogous
#262738 #2E2638 #372638
triadic
#2E2638 #382E26 #26382E
tetradic
#2E2638 #382627 #303826 #263837
square
#2E2638 #382627 #303826 #263837
split-complementary
#2E2638 #383726 #273826
monochromatic
#0F0C12 #100D14 #2E2638 #4C3F5C #6A5781

Accessibility & contrast

On white

14.48
#2E2638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2E2638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2638
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2638#FFFFFF#000000##FFFFFF
##2E26381.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232939
Deuteranopia (green-blind)
#242937
Tritanopia (blue-blind)
#2D292C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2638;
/* rgb */ color: rgb(46, 38, 56);
/* oklch */ color: oklch(28.6% 0.034 304.6);
Tailwind
colors: {
  custom: {
    50: '#67606e',
    500: '#2e2638',
    950: '#000000',
  },
}
SCSS
$custom: #2e2638;
$custom-light: #67606e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2638",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 56
  },
  "hsl": {
    "h": 266.667,
    "s": 19.149,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28559,
    "c": 0.03407,
    "h": 304.6
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#2E2638
secondary
#5E6950
accent
#BC6C98
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E2638

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

Preview Lab → · Contrast checker → · Palette generator →

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