#2B2736#2B2736

#2B2736 is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.028 H 296.8°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#2B2736
RGBrgb(43, 39, 54)
HSLhsl(256, 16%, 18%)
HSVhsv(256, 28%, 21%)
CMYKcmyk(20.4%, 27.8%, 0%, 78.8%)
CIE-LABlab(16.66, 5.68, -9.02)
CIE-LCHlch(16.66, 10.66, 302.17°)
OKLaboklab(28.37% 0.0125 -0.0247)
OKLCHoklch(28.37% 0.028 296.8)
XYZxyz(2.3875, 2.2310, 3.7941)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2736 #323627
analogous
#272A36 #2B2736 #322736
triadic
#2B2736 #362B27 #27362B
tetradic
#2B2736 #36272A #323627 #273632
square
#2B2736 #36272A #323627 #273632
split-complementary
#2B2736 #363227 #2A3627
monochromatic
#0E0D12 #0F0D12 #2B2736 #47415A #645A7D

Accessibility & contrast

On white

14.52
#2B2736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2B2736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2736
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2736#FFFFFF#000000##FFFFFF
##2B27361.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242937
Deuteranopia (green-blind)
#242936
Tritanopia (blue-blind)
#29292C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2736;
/* rgb */ color: rgb(43, 39, 54);
/* oklch */ color: oklch(28.4% 0.028 296.8);
Tailwind
colors: {
  custom: {
    50: '#64616d',
    500: '#2b2736',
    950: '#000000',
  },
}
SCSS
$custom: #2b2736;
$custom-light: #64616d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2736",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 54
  },
  "hsl": {
    "h": 256,
    "s": 16.129,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28368,
    "c": 0.02766,
    "h": 296.8
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#2B2736
secondary
#616752
accent
#B96FA5
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050507
muted
#7A797A

Preview Lab

Preview with #2B2736

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

Preview Lab → · Contrast checker → · Palette generator →

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