#2B1037#2B1037

#2B1037 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.077 H 314.0°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2B1037
RGBrgb(43, 16, 55)
HSLhsl(282, 55%, 14%)
HSVhsv(282, 71%, 22%)
CMYKcmyk(21.8%, 70.9%, 0%, 78.4%)
CIE-LABlab(10.26, 21.82, -19.73)
CIE-LCHlch(10.26, 29.42, 317.87°)
OKLaboklab(23.57% 0.0535 -0.0554)
OKLCHoklch(23.57% 0.077 314)
XYZxyz(1.8710, 1.1601, 3.7390)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1037 #1C3710
analogous
#181037 #2B1037 #371030
triadic
#2B1037 #372B10 #10372B
tetradic
#2B1037 #371810 #1C3710 #103037
square
#2B1037 #371810 #1C3710 #103037
split-complementary
#2B1037 #303710 #103718
monochromatic
#130718 #130718 #2B1037 #501E66 #752C96

Accessibility & contrast

On white

17.05
#2B1037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2B1037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1037
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1037#FFFFFF#000000##FFFFFF
##2B10371.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041A38
Deuteranopia (green-blind)
#0F1D36
Tritanopia (blue-blind)
#2A1721
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b1037;
/* rgb */ color: rgb(43, 16, 55);
/* oklch */ color: oklch(23.6% 0.077 314.0);
Tailwind
colors: {
  custom: {
    50: '#66506e',
    500: '#2b1037',
    950: '#000000',
  },
}
SCSS
$custom: #2b1037;
$custom-light: #66506e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1037",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 281.538,
    "s": 54.93,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23572,
    "c": 0.07699,
    "h": 314
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#2B1037
secondary
#457132
accent
#DE4A77
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B1037

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

Preview Lab → · Contrast checker → · Palette generator →

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