#2B0532#2B0532

#2B0532 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.090 H 320.9°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#2B0532
RGBrgb(43, 5, 50)
HSLhsl(291, 82%, 11%)
HSVhsv(291, 90%, 20%)
CMYKcmyk(14%, 90%, 0%, 80.4%)
CIE-LABlab(7.70, 26.68, -20.18)
CIE-LCHlch(7.70, 33.45, 322.90°)
OKLaboklab(21.61% 0.0697 -0.0566)
OKLCHoklch(21.61% 0.09 320.9)
XYZxyz(1.6262, 0.8525, 3.0959)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0532 #0C3205
analogous
#140532 #2B0532 #320522
triadic
#2B0532 #322B05 #05322B
tetradic
#2B0532 #321405 #0C3205 #052232
square
#2B0532 #321405 #0C3205 #052232
split-complementary
#2B0532 #223205 #053214
monochromatic
#18031C #18031C #2B0532 #5B0B6A #8B10A1

Accessibility & contrast

On white

17.94
#2B0532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0532
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0532#FFFFFF#000000##FFFFFF
##2B05321.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0532;
/* rgb */ color: rgb(43, 5, 50);
/* oklch */ color: oklch(21.6% 0.090 320.9);
Tailwind
colors: {
  custom: {
    50: '#66496a',
    500: '#2b0532',
    950: '#000000',
  },
}
SCSS
$custom: #2b0532;
$custom-light: #66496a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0532",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 290.667,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21611,
    "c": 0.0898,
    "h": 320.9
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#2B0532
secondary
#2C731F
accent
#F8304F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0532

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

Preview Lab → · Contrast checker → · Palette generator →

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