#2B0632#2B0632

#2B0632 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.088 H 320.8°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2B0632
RGBrgb(43, 6, 50)
HSLhsl(290, 79%, 11%)
HSVhsv(290, 88%, 20%)
CMYKcmyk(14%, 88%, 0%, 80.4%)
CIE-LABlab(7.90, 26.12, -19.87)
CIE-LCHlch(7.90, 32.82, 322.75°)
OKLaboklab(21.75% 0.0682 -0.0557)
OKLCHoklch(21.75% 0.088 320.8)
XYZxyz(1.6370, 0.8742, 3.0995)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0632 #0D3206
analogous
#150632 #2B0632 #320623
triadic
#2B0632 #322B06 #06322B
tetradic
#2B0632 #321506 #0D3206 #062332
square
#2B0632 #321506 #0D3206 #062332
split-complementary
#2B0632 #233206 #063215
monochromatic
#17031B #17031B #2B0632 #5A0D69 #89139F

Accessibility & contrast

On white

17.88
#2B0632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2B0632 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0632
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0632#FFFFFF#000000##FFFFFF
##2B06321.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#0A1931
Tritanopia (blue-blind)
#2B0E1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0632;
/* rgb */ color: rgb(43, 6, 50);
/* oklch */ color: oklch(21.8% 0.088 320.8);
Tailwind
colors: {
  custom: {
    50: '#664a6a',
    500: '#2b0632',
    950: '#000000',
  },
}
SCSS
$custom: #2b0632;
$custom-light: #664a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0632",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 50
  },
  "hsl": {
    "h": 290.455,
    "s": 78.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21753,
    "c": 0.08803,
    "h": 320.8
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#2B0632
secondary
#2E7321
accent
#F53352
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0632

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

Preview Lab → · Contrast checker → · Palette generator →

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