#2B0131#2B0131

#2B0131 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.096 H 322.5°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#2B0131
RGBrgb(43, 1, 49)
HSLhsl(293, 96%, 10%)
HSVhsv(293, 98%, 19%)
CMYKcmyk(12.2%, 98%, 0%, 80.8%)
CIE-LABlab(6.84, 28.66, -20.82)
CIE-LCHlch(6.84, 35.43, 324.00°)
OKLaboklab(20.94% 0.0765 -0.0587)
OKLCHoklch(20.94% 0.096 322.5)
XYZxyz(1.5614, 0.7571, 2.9690)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0131 #073101
analogous
#130131 #2B0131 #31011F
triadic
#2B0131 #312B01 #01312B
tetradic
#2B0131 #311301 #073101 #011F31
square
#2B0131 #311301 #073101 #011F31
split-complementary
#2B0131 #1F3101 #013113
monochromatic
#1A011E #1A011E #2B0131 #60026D #9403A9

Accessibility & contrast

On white

18.24
#2B0131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2B0131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0131
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0131#FFFFFF#000000##FFFFFF
##2B01311.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#071730
Tritanopia (blue-blind)
#2C0A19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0131;
/* rgb */ color: rgb(43, 1, 49);
/* oklch */ color: oklch(20.9% 0.096 322.5);
Tailwind
colors: {
  custom: {
    50: '#674769',
    500: '#2b0131',
    950: '#000000',
  },
}
SCSS
$custom: #2b0131;
$custom-light: #674769;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0131",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 292.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20939,
    "c": 0.09638,
    "h": 322.5
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#2B0131
secondary
#237717
accent
#FF2944
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2B0131

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

Preview Lab → · Contrast checker → · Palette generator →

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