#2B052C#2B052C

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

Color values

HEX#2B052C
RGBrgb(43, 5, 44)
HSLhsl(298, 80%, 10%)
HSVhsv(298, 89%, 17%)
CMYKcmyk(2.3%, 88.6%, 0%, 82.7%)
CIE-LABlab(7.26, 25.29, -16.42)
CIE-LCHlch(7.26, 30.15, 327.00°)
OKLaboklab(21.14% 0.0702 -0.0457)
OKLCHoklch(21.14% 0.084 327)
XYZxyz(1.5051, 0.8041, 2.4583)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B052C #062C05
analogous
#18052C #2B052C #2C051A
triadic
#2B052C #2C2B05 #052C2B
tetradic
#2B052C #2C1805 #062C05 #051A2C
square
#2B052C #2C1805 #062C05 #051A2C
split-complementary
#2B052C #1A2C05 #052C18
monochromatic
#1B031B #1B031B #2B052C #610B63 #96119A

Accessibility & contrast

On white

18.09
#2B052C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B052C
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B052C#FFFFFF#000000##FFFFFF
##2B052C1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132D
Deuteranopia (green-blind)
#0E182B
Tritanopia (blue-blind)
#2D0B17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b052c;
/* rgb */ color: rgb(43, 5, 44);
/* oklch */ color: oklch(21.1% 0.084 327.0);
Tailwind
colors: {
  custom: {
    50: '#664965',
    500: '#2b052c',
    950: '#000000',
  },
}
SCSS
$custom: #2b052c;
$custom-light: #664965;
$custom-dark: #000000;
JSON
{
  "hex": "#2b052c",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 44
  },
  "hsl": {
    "h": 298.462,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2114,
    "c": 0.0838,
    "h": 327
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#2B052C
secondary
#216E1F
accent
#F63237
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2B052C

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

Preview Lab → · Contrast checker → · Palette generator →

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