#2B2136#2B2136

#2B2136 is a dark, muted violet. Relative luminance 0.019; OKLCH L 26.9% C 0.040 H 305.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#2B2136
RGBrgb(43, 33, 54)
HSLhsl(269, 24%, 17%)
HSVhsv(269, 39%, 21%)
CMYKcmyk(20.4%, 38.9%, 0%, 78.8%)
CIE-LABlab(14.78, 9.96, -11.91)
CIE-LCHlch(14.78, 15.53, 309.90°)
OKLaboklab(26.92% 0.0236 -0.0328)
OKLCHoklch(26.92% 0.04 305.7)
XYZxyz(2.2058, 1.8677, 3.7336)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2136 #2C3621
analogous
#212236 #2B2136 #362136
triadic
#2B2136 #362B21 #21362B
tetradic
#2B2136 #362122 #2C3621 #213636
square
#2B2136 #362122 #2C3621 #213636
split-complementary
#2B2136 #363621 #223621
monochromatic
#0F0C13 #0F0C13 #2B2136 #49385C #674F82

Accessibility & contrast

On white

15.29
#2B2136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2B2136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2136
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2136#FFFFFF#000000##FFFFFF
##2B21361.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2537
Deuteranopia (green-blind)
#1F2535
Tritanopia (blue-blind)
#292429
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2b2136;
/* rgb */ color: rgb(43, 33, 54);
/* oklch */ color: oklch(26.9% 0.040 305.7);
Tailwind
colors: {
  custom: {
    50: '#645c6d',
    500: '#2b2136',
    950: '#000000',
  },
}
SCSS
$custom: #2b2136;
$custom-light: #645c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2136",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 268.571,
    "s": 24.138,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26924,
    "c": 0.04041,
    "h": 305.7
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#2B2136
secondary
#5A694A
accent
#C16796
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050407
muted
#7A797A

Preview Lab

Preview with #2B2136

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

Preview Lab → · Contrast checker → · Palette generator →

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