#2B052E#2B052E

#2B052E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.086 H 324.9°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#2B052E
RGBrgb(43, 5, 46)
HSLhsl(296, 80%, 10%)
HSVhsv(296, 89%, 18%)
CMYKcmyk(6.5%, 89.1%, 0%, 82%)
CIE-LABlab(7.40, 25.75, -17.69)
CIE-LCHlch(7.40, 31.24, 325.51°)
OKLaboklab(21.29% 0.0701 -0.0494)
OKLCHoklch(21.29% 0.086 324.9)
XYZxyz(1.5436, 0.8195, 2.6611)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B052E #082E05
analogous
#17052E #2B052E #2E051C
triadic
#2B052E #2E2B05 #052E2B
tetradic
#2B052E #2E1705 #082E05 #051C2E
square
#2B052E #2E1705 #082E05 #051C2E
split-complementary
#2B052E #1C2E05 #052E17
monochromatic
#1A031C #1A031C #2B052E #5F0B65 #92119C

Accessibility & contrast

On white

18.04
#2B052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B052E
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B052E#FFFFFF#000000##FFFFFF
##2B052E1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#0D182D
Tritanopia (blue-blind)
#2C0C19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b052e;
/* rgb */ color: rgb(43, 5, 46);
/* oklch */ color: oklch(21.3% 0.086 324.9);
Tailwind
colors: {
  custom: {
    50: '#664967',
    500: '#2b052e',
    950: '#000000',
  },
}
SCSS
$custom: #2b052e;
$custom-light: #664967;
$custom-dark: #000000;
JSON
{
  "hex": "#2b052e",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 295.61,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21292,
    "c": 0.08577,
    "h": 324.9
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#2B052E
secondary
#25701F
accent
#F7313F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B052E

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

Preview Lab → · Contrast checker → · Palette generator →

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