#2B0D27#2B0D27

#2B0D27 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.064 H 332.9°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#2B0D27
RGBrgb(43, 13, 39)
HSLhsl(308, 54%, 11%)
HSVhsv(308, 70%, 17%)
CMYKcmyk(0%, 69.8%, 9.3%, 83.1%)
CIE-LABlab(8.55, 19.77, -10.64)
CIE-LCHlch(8.55, 22.45, 331.71°)
OKLaboklab(21.99% 0.0568 -0.029)
OKLCHoklch(21.99% 0.064 332.9)
XYZxyz(1.5064, 0.9480, 2.0227)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D27 #0D2B11
analogous
#200D2B #2B0D27 #2B0D18
triadic
#2B0D27 #272B0D #0D272B
tetradic
#2B0D27 #2B200D #0D2B11 #0D182B
square
#2B0D27 #2B200D #0D2B11 #0D182B
split-complementary
#2B0D27 #182B0D #0D2B20
monochromatic
#170715 #170715 #2B0D27 #5A1B52 #89297C

Accessibility & contrast

On white

17.65
#2B0D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B0D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D27
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D27#FFFFFF#000000##FFFFFF
##2B0D271.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1628
Deuteranopia (green-blind)
#151A26
Tritanopia (blue-blind)
#2D0F18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0d27;
/* rgb */ color: rgb(43, 13, 39);
/* oklch */ color: oklch(22.0% 0.064 332.9);
Tailwind
colors: {
  custom: {
    50: '#654d61',
    500: '#2b0d27',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d27;
$custom-light: #654d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d27",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 39
  },
  "hsl": {
    "h": 308,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21985,
    "c": 0.06376,
    "h": 332.9
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#2B0D27
secondary
#2E6636
accent
#DD5E4B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0D27

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

Preview Lab → · Contrast checker → · Palette generator →

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