#2E2A33#2E2A33

#2E2A33 is a dark, near-neutral violet. Relative luminance 0.025; OKLCH L 29.3% C 0.017 H 305.4°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#2E2A33
RGBrgb(46, 42, 51)
HSLhsl(267, 10%, 18%)
HSVhsv(267, 18%, 20%)
CMYKcmyk(9.8%, 17.6%, 0%, 80%)
CIE-LABlab(17.81, 4.00, -5.15)
CIE-LCHlch(17.81, 6.52, 307.82°)
OKLaboklab(29.3% 0.0099 -0.0139)
OKLCHoklch(29.3% 0.017 305.4)
XYZxyz(2.5521, 2.4758, 3.4748)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A33 #2F332A
analogous
#2A2A33 #2E2A33 #322A33
triadic
#2E2A33 #332E2A #2A332E
tetradic
#2E2A33 #332A2A #2F332A #2A3332
square
#2E2A33 #332A2A #2F332A #2A3332
split-complementary
#2E2A33 #33322A #2A332A
monochromatic
#0F0E11 #100E11 #2E2A33 #4C4655 #6B6176

Accessibility & contrast

On white

14.04
#2E2A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2E2A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A33
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A33#FFFFFF#000000##FFFFFF
##2E2A331.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292B33
Deuteranopia (green-blind)
#292C33
Tritanopia (blue-blind)
#2D2B2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e2a33;
/* rgb */ color: rgb(46, 42, 51);
/* oklch */ color: oklch(29.3% 0.017 305.4);
Tailwind
colors: {
  custom: {
    50: '#66636a',
    500: '#2e2a33',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a33;
$custom-light: #66636a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a33",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 51
  },
  "hsl": {
    "h": 266.667,
    "s": 9.677,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29297,
    "c": 0.01702,
    "h": 305.4
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#2E2A33
secondary
#5D6356
accent
#B37597
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2E2A33

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

Preview Lab → · Contrast checker → · Palette generator →

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