#2B1135#2B1135

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

Color values

HEX#2B1135
RGBrgb(43, 17, 53)
HSLhsl(283, 51%, 14%)
HSVhsv(283, 68%, 21%)
CMYKcmyk(18.9%, 67.9%, 0%, 79.2%)
CIE-LABlab(10.35, 20.67, -18.15)
CIE-LCHlch(10.35, 27.51, 318.72°)
OKLaboklab(23.59% 0.0519 -0.0507)
OKLCHoklch(23.59% 0.073 315.6)
XYZxyz(1.8392, 1.1716, 3.4967)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1135 #1B3511
analogous
#191135 #2B1135 #35112D
triadic
#2B1135 #352B11 #11352B
tetradic
#2B1135 #351911 #1B3511 #112D35
square
#2B1135 #351911 #1B3511 #112D35
split-complementary
#2B1135 #2D3511 #113519
monochromatic
#130717 #130717 #2B1135 #512063 #762F92

Accessibility & contrast

On white

17.01
#2B1135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1135
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1135#FFFFFF#000000##FFFFFF
##2B11351.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B36
Deuteranopia (green-blind)
#111D34
Tritanopia (blue-blind)
#2A1720
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b1135;
/* rgb */ color: rgb(43, 17, 53);
/* oklch */ color: oklch(23.6% 0.073 315.6);
Tailwind
colors: {
  custom: {
    50: '#66506c',
    500: '#2b1135',
    950: '#000000',
  },
}
SCSS
$custom: #2b1135;
$custom-light: #66506c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1135",
  "rgb": {
    "r": 43,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 283.333,
    "s": 51.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2359,
    "c": 0.07254,
    "h": 315.6
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#2B1135
secondary
#446E34
accent
#DB4D74
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B1135

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

Preview Lab → · Contrast checker → · Palette generator →

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