#2B0528#2B0528

#2B0528 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.080 H 331.4°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#2B0528
RGBrgb(43, 5, 40)
HSLhsl(305, 79%, 9%)
HSVhsv(305, 88%, 17%)
CMYKcmyk(0%, 88.4%, 7%, 83.1%)
CIE-LABlab(7.00, 24.38, -13.81)
CIE-LCHlch(7.00, 28.02, 330.47°)
OKLaboklab(20.85% 0.0702 -0.0382)
OKLCHoklch(20.85% 0.08 331.4)
XYZxyz(1.4335, 0.7754, 2.0812)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0528 #052B08
analogous
#1B052B #2B0528 #2B0515
triadic
#2B0528 #282B05 #05282B
tetradic
#2B0528 #2B1B05 #052B08 #05152B
square
#2B0528 #2B1B05 #052B08 #05152B
split-complementary
#2B0528 #152B05 #052B1B
monochromatic
#1B0319 #1B0319 #2B0528 #620B5B #99128E

Accessibility & contrast

On white

18.18
#2B0528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0528
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0528#FFFFFF#000000##FFFFFF
##2B05281.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031229
Deuteranopia (green-blind)
#101727
Tritanopia (blue-blind)
#2D0915
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0528;
/* rgb */ color: rgb(43, 5, 40);
/* oklch */ color: oklch(20.8% 0.080 331.4);
Tailwind
colors: {
  custom: {
    50: '#664962',
    500: '#2b0528',
    950: '#000000',
  },
}
SCSS
$custom: #2b0528;
$custom-light: #664962;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0528",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 40
  },
  "hsl": {
    "h": 304.737,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2085,
    "c": 0.07995,
    "h": 331.4
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#2B0528
secondary
#1F6D25
accent
#F64232
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0528

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

Preview Lab → · Contrast checker → · Palette generator →

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