#2E2830#2E2830

#2E2830 is a dark, near-neutral purple. Relative luminance 0.023; OKLCH L 28.7% C 0.017 H 317.7°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#2E2830
RGBrgb(46, 40, 48)
HSLhsl(285, 9%, 17%)
HSVhsv(285, 17%, 19%)
CMYKcmyk(4.2%, 16.7%, 0%, 81.2%)
CIE-LABlab(17.05, 4.64, -4.19)
CIE-LCHlch(17.05, 6.25, 317.88°)
OKLaboklab(28.66% 0.0123 -0.0112)
OKLCHoklch(28.66% 0.017 317.7)
XYZxyz(2.4189, 2.3118, 3.1145)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2830 #2A3028
analogous
#2A2830 #2E2830 #30282E
triadic
#2E2830 #302E28 #28302E
tetradic
#2E2830 #302A28 #2A3028 #282E30
square
#2E2830 #302A28 #2A3028 #282E30
split-complementary
#2E2830 #2E3028 #28302A
monochromatic
#100E11 #100E11 #2E2830 #4E4451 #6E6073

Accessibility & contrast

On white

14.36
#2E2830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2E2830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2830
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2830#FFFFFF#000000##FFFFFF
##2E28301.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A30
Deuteranopia (green-blind)
#282A30
Tritanopia (blue-blind)
#2E292B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e2830;
/* rgb */ color: rgb(46, 40, 48);
/* oklch */ color: oklch(28.7% 0.017 317.7);
Tailwind
colors: {
  custom: {
    50: '#666168',
    500: '#2e2830',
    950: '#000000',
  },
}
SCSS
$custom: #2e2830;
$custom-light: #666168;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2830",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 285,
    "s": 9.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28664,
    "c": 0.01668,
    "h": 317.7
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#2E2830
secondary
#576054
accent
#B27685
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #2E2830

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

Preview Lab → · Contrast checker → · Palette generator →

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