#2B0436#2B0436

#2B0436 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.096 H 317.5°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#2B0436
RGBrgb(43, 4, 54)
HSLhsl(287, 86%, 11%)
HSVhsv(287, 93%, 21%)
CMYKcmyk(20.4%, 92.6%, 0%, 78.8%)
CIE-LABlab(7.83, 28.18, -22.91)
CIE-LCHlch(7.83, 36.32, 320.90°)
OKLaboklab(21.81% 0.0705 -0.0646)
OKLCHoklch(21.81% 0.096 317.5)
XYZxyz(1.7054, 0.8668, 3.5668)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0436 #0F3604
analogous
#120436 #2B0436 #360428
triadic
#2B0436 #362B04 #04362B
tetradic
#2B0436 #361204 #0F3604 #042836
square
#2B0436 #361204 #0F3604 #042836
split-complementary
#2B0436 #283604 #043612
monochromatic
#17021C #17021C #2B0436 #58086F #860CA8

Accessibility & contrast

On white

17.90
#2B0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2B0436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0436
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0436#FFFFFF#000000##FFFFFF
##2B04361.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#051835
Tritanopia (blue-blind)
#2A0F1D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0436;
/* rgb */ color: rgb(43, 4, 54);
/* oklch */ color: oklch(21.8% 0.096 317.5);
Tailwind
colors: {
  custom: {
    50: '#67496d',
    500: '#2b0436',
    950: '#000000',
  },
}
SCSS
$custom: #2b0436;
$custom-light: #67496d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0436",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 286.8,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2181,
    "c": 0.09562,
    "h": 317.5
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#2B0436
secondary
#32781E
accent
#FC2B59
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0436

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

Preview Lab → · Contrast checker → · Palette generator →

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