#2B1036#2B1036

#2B1036 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.5% C 0.076 H 314.9°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#2B1036
RGBrgb(43, 16, 54)
HSLhsl(283, 54%, 14%)
HSVhsv(283, 70%, 21%)
CMYKcmyk(20.4%, 70.4%, 0%, 78.8%)
CIE-LABlab(10.19, 21.55, -19.12)
CIE-LCHlch(10.19, 28.81, 318.42°)
OKLaboklab(23.5% 0.0535 -0.0536)
OKLCHoklch(23.5% 0.076 314.9)
XYZxyz(1.8473, 1.1506, 3.6141)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1036 #1B3610
analogous
#181036 #2B1036 #36102E
triadic
#2B1036 #362B10 #10362B
tetradic
#2B1036 #361810 #1B3610 #102E36
square
#2B1036 #361810 #1B3610 #102E36
split-complementary
#2B1036 #2E3610 #103618
monochromatic
#130718 #130718 #2B1036 #511E65 #762C94

Accessibility & contrast

On white

17.07
#2B1036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1036
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1036#FFFFFF#000000##FFFFFF
##2B10361.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#0F1D35
Tritanopia (blue-blind)
#2A1721
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b1036;
/* rgb */ color: rgb(43, 16, 54);
/* oklch */ color: oklch(23.5% 0.076 314.9);
Tailwind
colors: {
  custom: {
    50: '#66506d',
    500: '#2b1036',
    950: '#000000',
  },
}
SCSS
$custom: #2b1036;
$custom-light: #66506d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1036",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 282.632,
    "s": 54.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23497,
    "c": 0.0757,
    "h": 314.9
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#2B1036
secondary
#447032
accent
#DE4A75
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B1036

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

Preview Lab → · Contrast checker → · Palette generator →

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