#2B262E#2B262E

#2B262E is a dark, near-neutral violet. Relative luminance 0.021; OKLCH L 27.7% C 0.016 H 312.9°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#2B262E
RGBrgb(43, 38, 46)
HSLhsl(278, 10%, 16%)
HSVhsv(278, 17%, 18%)
CMYKcmyk(6.5%, 17.4%, 0%, 82%)
CIE-LABlab(15.99, 4.23, -4.40)
CIE-LCHlch(15.99, 6.10, 313.91°)
OKLaboklab(27.74% 0.011 -0.0118)
OKLCHoklch(27.74% 0.016 312.9)
XYZxyz(2.1824, 2.0971, 2.8740)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B262E #292E26
analogous
#27262E #2B262E #2E262D
triadic
#2B262E #2E2B26 #262E2B
tetradic
#2B262E #2E2726 #292E26 #262D2E
square
#2B262E #2E2726 #292E26 #262D2E
split-complementary
#2B262E #2D2E26 #262E27
monochromatic
#100E11 #100E11 #2B262E #4A4250 #6A5D71

Accessibility & contrast

On white

14.79
#2B262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2B262E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B262E
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B262E#FFFFFF#000000##FFFFFF
##2B262E1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272E
Deuteranopia (green-blind)
#26282E
Tritanopia (blue-blind)
#2B2729
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b262e;
/* rgb */ color: rgb(43, 38, 46);
/* oklch */ color: oklch(27.7% 0.016 312.9);
Tailwind
colors: {
  custom: {
    50: '#646066',
    500: '#2b262e',
    950: '#000000',
  },
}
SCSS
$custom: #2b262e;
$custom-light: #646066;
$custom-dark: #000000;
JSON
{
  "hex": "#2b262e",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 277.5,
    "s": 9.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27737,
    "c": 0.01613,
    "h": 312.9
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#2B262E
secondary
#565E52
accent
#B3758C
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #2B262E

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

Preview Lab → · Contrast checker → · Palette generator →

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