#2E2633#2E2633

#2E2633 is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.3% C 0.026 H 312.3°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#2E2633
RGBrgb(46, 38, 51)
HSLhsl(277, 15%, 17%)
HSVhsv(277, 25%, 20%)
CMYKcmyk(9.8%, 25.5%, 0%, 80%)
CIE-LABlab(16.53, 6.81, -7.07)
CIE-LCHlch(16.53, 9.82, 313.92°)
OKLaboklab(28.31% 0.0174 -0.0192)
OKLCHoklch(28.31% 0.026 312.3)
XYZxyz(2.4173, 2.2061, 3.4298)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2633 #2B3326
analogous
#272633 #2E2633 #332632
triadic
#2E2633 #332E26 #26332E
tetradic
#2E2633 #332726 #2B3326 #263233
square
#2E2633 #332726 #2B3326 #263233
split-complementary
#2E2633 #323326 #263327
monochromatic
#100D12 #100D12 #2E2633 #4E4056 #6D5A79

Accessibility & contrast

On white

14.57
#2E2633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2633
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2633#FFFFFF#000000##FFFFFF
##2E26331.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242834
Deuteranopia (green-blind)
#262933
Tritanopia (blue-blind)
#2E282A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2633;
/* rgb */ color: rgb(46, 38, 51);
/* oklch */ color: oklch(28.3% 0.026 312.3);
Tailwind
colors: {
  custom: {
    50: '#66606a',
    500: '#2e2633',
    950: '#000000',
  },
}
SCSS
$custom: #2e2633;
$custom-light: #66606a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2633",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 51
  },
  "hsl": {
    "h": 276.923,
    "s": 14.607,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28309,
    "c": 0.02591,
    "h": 312.3
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#2E2633
secondary
#586451
accent
#B7708C
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2E2633

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

Preview Lab → · Contrast checker → · Palette generator →

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