#2B052B#2B052B

#2B052B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.083 H 328.0°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#2B052B
RGBrgb(43, 5, 43)
HSLhsl(300, 79%, 9%)
HSVhsv(300, 88%, 17%)
CMYKcmyk(0%, 88.4%, 0%, 83.1%)
CIE-LABlab(7.20, 25.06, -15.77)
CIE-LCHlch(7.20, 29.61, 327.81°)
OKLaboklab(21.07% 0.0703 -0.0438)
OKLCHoklch(21.07% 0.083 328)
XYZxyz(1.4866, 0.7967, 2.3605)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B052B #052B05
analogous
#18052B #2B052B #2B0518
triadic
#2B052B #2B2B05 #052B2B
tetradic
#2B052B #2B1805 #052B05 #05182B
square
#2B052B #2B1805 #052B05 #05182B
split-complementary
#2B052B #182B05 #052B18
monochromatic
#1B031B #1B031B #2B052B #620B62 #991299

Accessibility & contrast

On white

18.11
#2B052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B052B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B052B
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B052B#FFFFFF#000000##FFFFFF
##2B052B1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132C
Deuteranopia (green-blind)
#0F182A
Tritanopia (blue-blind)
#2D0A17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b052b;
/* rgb */ color: rgb(43, 5, 43);
/* oklch */ color: oklch(21.1% 0.083 328.0);
Tailwind
colors: {
  custom: {
    50: '#664964',
    500: '#2b052b',
    950: '#000000',
  },
}
SCSS
$custom: #2b052b;
$custom-light: #664964;
$custom-dark: #000000;
JSON
{
  "hex": "#2b052b",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21065,
    "c": 0.08282,
    "h": 328
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#2B052B
secondary
#1F6D1F
accent
#F63232
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2B052B

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

Preview Lab → · Contrast checker → · Palette generator →

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