#2B0529#2B0529

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

Color values

HEX#2B0529
RGBrgb(43, 5, 41)
HSLhsl(303, 79%, 9%)
HSVhsv(303, 88%, 17%)
CMYKcmyk(0%, 88.4%, 4.7%, 83.1%)
CIE-LABlab(7.07, 24.61, -14.47)
CIE-LCHlch(7.07, 28.55, 329.54°)
OKLaboklab(20.92% 0.0703 -0.0401)
OKLCHoklch(20.92% 0.081 330.3)
XYZxyz(1.4508, 0.7823, 2.1720)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0529 #052B07
analogous
#1A052B #2B0529 #2B0516
triadic
#2B0529 #292B05 #05292B
tetradic
#2B0529 #2B1A05 #052B07 #05162B
square
#2B0529 #2B1A05 #052B07 #05162B
split-complementary
#2B0529 #162B05 #052B1A
monochromatic
#1B031A #1B031A #2B0529 #620B5D #991292

Accessibility & contrast

On white

18.16
#2B0529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0529
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0529#FFFFFF#000000##FFFFFF
##2B05291.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02122A
Deuteranopia (green-blind)
#101728
Tritanopia (blue-blind)
#2D0916
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0529;
/* rgb */ color: rgb(43, 5, 41);
/* oklch */ color: oklch(20.9% 0.081 330.3);
Tailwind
colors: {
  custom: {
    50: '#664963',
    500: '#2b0529',
    950: '#000000',
  },
}
SCSS
$custom: #2b0529;
$custom-light: #664963;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0529",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 303.158,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2092,
    "c": 0.0809,
    "h": 330.3
  },
  "luminance": 0.00782
}

Semantic roles & 50–950 ramp

primary
#2B0529
secondary
#1F6D23
accent
#F63C32
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0529

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

Preview Lab → · Contrast checker → · Palette generator →

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