#2B202E#2B202E

#2B202E is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.3% C 0.030 H 318.9°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#2B202E
RGBrgb(43, 32, 46)
HSLhsl(287, 18%, 15%)
HSVhsv(287, 30%, 18%)
CMYKcmyk(6.5%, 30.4%, 0%, 82%)
CIE-LABlab(14.08, 8.51, -7.28)
CIE-LCHlch(14.08, 11.20, 319.47°)
OKLaboklab(26.26% 0.0226 -0.0197)
OKLCHoklch(26.26% 0.03 318.9)
XYZxyz(2.0058, 1.7439, 2.8152)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B202E #232E20
analogous
#24202E #2B202E #2E202A
triadic
#2B202E #2E2B20 #202E2B
tetradic
#2B202E #2E2420 #232E20 #202A2E
square
#2B202E #2E2420 #232E20 #202A2E
split-complementary
#2B202E #2A2E20 #202E24
monochromatic
#110D12 #110D12 #2B202E #4D3952 #6E5276

Accessibility & contrast

On white

15.57
#2B202E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2B202E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B202E
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B202E#FFFFFF#000000##FFFFFF
##2B202E1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#21242E
Tritanopia (blue-blind)
#2B2125
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2b202e;
/* rgb */ color: rgb(43, 32, 46);
/* oklch */ color: oklch(26.3% 0.030 318.9);
Tailwind
colors: {
  custom: {
    50: '#645b66',
    500: '#2b202e',
    950: '#000000',
  },
}
SCSS
$custom: #2b202e;
$custom-light: #645b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b202e",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 46
  },
  "hsl": {
    "h": 287.143,
    "s": 17.949,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26264,
    "c": 0.03001,
    "h": 318.9
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#2B202E
secondary
#4F604A
accent
#BB6D7E
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050406
muted
#7A797A

Preview Lab

Preview with #2B202E

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

Preview Lab → · Contrast checker → · Palette generator →

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