#2B0531#2B0531

#2B0531 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.089 H 321.9°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#2B0531
RGBrgb(43, 5, 49)
HSLhsl(292, 81%, 11%)
HSVhsv(292, 90%, 19%)
CMYKcmyk(12.2%, 89.8%, 0%, 80.8%)
CIE-LABlab(7.62, 26.45, -19.56)
CIE-LCHlch(7.62, 32.90, 323.50°)
OKLaboklab(21.53% 0.0699 -0.0548)
OKLCHoklch(21.53% 0.089 321.9)
XYZxyz(1.6048, 0.8440, 2.9835)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0531 #0B3105
analogous
#150531 #2B0531 #310521
triadic
#2B0531 #312B05 #05312B
tetradic
#2B0531 #311505 #0B3105 #052131
square
#2B0531 #311505 #0B3105 #052131
split-complementary
#2B0531 #213105 #053115
monochromatic
#18031C #18031C #2B0531 #5C0B69 #8C10A0

Accessibility & contrast

On white

17.97
#2B0531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0531
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0531#FFFFFF#000000##FFFFFF
##2B05311.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#0A1830
Tritanopia (blue-blind)
#2C0D1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0531;
/* rgb */ color: rgb(43, 5, 49);
/* oklch */ color: oklch(21.5% 0.089 321.9);
Tailwind
colors: {
  custom: {
    50: '#664969',
    500: '#2b0531',
    950: '#000000',
  },
}
SCSS
$custom: #2b0531;
$custom-light: #664969;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0531",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 291.818,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2153,
    "c": 0.08879,
    "h": 321.9
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#2B0531
secondary
#2B721F
accent
#F8304B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0531

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

Preview Lab → · Contrast checker → · Palette generator →

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