#2B0631#2B0631

#2B0631 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.087 H 321.7°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#2B0631
RGBrgb(43, 6, 49)
HSLhsl(292, 78%, 11%)
HSVhsv(292, 88%, 19%)
CMYKcmyk(12.2%, 87.8%, 0%, 80.8%)
CIE-LABlab(7.82, 25.89, -19.25)
CIE-LCHlch(7.82, 32.26, 323.37°)
OKLaboklab(21.67% 0.0683 -0.0539)
OKLCHoklch(21.67% 0.087 321.7)
XYZxyz(1.6157, 0.8657, 2.9871)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0631 #0C3106
analogous
#150631 #2B0631 #310621
triadic
#2B0631 #312B06 #06312B
tetradic
#2B0631 #311506 #0C3106 #062131
square
#2B0631 #311506 #0C3106 #062131
split-complementary
#2B0631 #213106 #063115
monochromatic
#18031B #18031B #2B0631 #5B0D68 #8B139E

Accessibility & contrast

On white

17.90
#2B0631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0631
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0631#FFFFFF#000000##FFFFFF
##2B06311.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#0B1930
Tritanopia (blue-blind)
#2C0E1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0631;
/* rgb */ color: rgb(43, 6, 49);
/* oklch */ color: oklch(21.7% 0.087 321.7);
Tailwind
colors: {
  custom: {
    50: '#664a69',
    500: '#2b0631',
    950: '#000000',
  },
}
SCSS
$custom: #2b0631;
$custom-light: #664a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0631",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 291.628,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21672,
    "c": 0.087,
    "h": 321.7
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#2B0631
secondary
#2C7221
accent
#F5334E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0631

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

Preview Lab → · Contrast checker → · Palette generator →

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