#2B1027#2B1027

#2B1027 is a very dark, muted purple. Relative luminance 0.010; OKLCH L 22.5% C 0.058 H 333.2°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#2B1027
RGBrgb(43, 16, 39)
HSLhsl(309, 46%, 12%)
HSVhsv(309, 63%, 17%)
CMYKcmyk(0%, 62.8%, 9.3%, 83.1%)
CIE-LABlab(9.25, 17.92, -9.56)
CIE-LCHlch(9.25, 20.31, 331.91°)
OKLaboklab(22.5% 0.0514 -0.026)
OKLCHoklch(22.5% 0.058 333.2)
XYZxyz(1.5478, 1.0308, 2.0365)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1027 #102B14
analogous
#22102B #2B1027 #2B101A
triadic
#2B1027 #272B10 #10272B
tetradic
#2B1027 #2B2210 #102B14 #101A2B
square
#2B1027 #2B2210 #102B14 #101A2B
split-complementary
#2B1027 #1A2B10 #102B22
monochromatic
#160814 #160814 #2B1027 #58214F #843178

Accessibility & contrast

On white

17.41
#2B1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1027
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1027#FFFFFF#000000##FFFFFF
##2B10271.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1828
Deuteranopia (green-blind)
#171B26
Tritanopia (blue-blind)
#2D1219
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b1027;
/* rgb */ color: rgb(43, 16, 39);
/* oklch */ color: oklch(22.5% 0.058 333.2);
Tailwind
colors: {
  custom: {
    50: '#654f61',
    500: '#2b1027',
    950: '#000000',
  },
}
SCSS
$custom: #2b1027;
$custom-light: #654f61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1027",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 308.889,
    "s": 45.763,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22498,
    "c": 0.0576,
    "h": 333.2
  },
  "luminance": 0.01031
}

Semantic roles & 50–950 ramp

primary
#2B1027
secondary
#33643A
accent
#D56652
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060205
muted
#7A7879

Preview Lab

Preview with #2B1027

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

Preview Lab → · Contrast checker → · Palette generator →

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