#2B0A31#2B0A31

#2B0A31 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.080 H 321.1°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2B0A31
RGBrgb(43, 10, 49)
HSLhsl(291, 66%, 12%)
HSVhsv(291, 80%, 19%)
CMYKcmyk(12.2%, 79.6%, 0%, 80.8%)
CIE-LABlab(8.59, 23.71, -18.02)
CIE-LCHlch(8.59, 29.78, 322.77°)
OKLaboklab(22.22% 0.0624 -0.0503)
OKLCHoklch(22.22% 0.08 321.1)
XYZxyz(1.6591, 0.9525, 3.0016)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A31 #10310A
analogous
#180A31 #2B0A31 #310A24
triadic
#2B0A31 #312B0A #0A312B
tetradic
#2B0A31 #31180A #10310A #0A2431
square
#2B0A31 #31180A #10310A #0A2431
split-complementary
#2B0A31 #24310A #0A3118
monochromatic
#160519 #160519 #2B0A31 #581464 #841F97

Accessibility & contrast

On white

17.64
#2B0A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B0A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0A31
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A31#FFFFFF#000000##FFFFFF
##2B0A311.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021632
Deuteranopia (green-blind)
#0E1A30
Tritanopia (blue-blind)
#2B111C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0a31;
/* rgb */ color: rgb(43, 10, 49);
/* oklch */ color: oklch(22.2% 0.080 321.1);
Tailwind
colors: {
  custom: {
    50: '#664c69',
    500: '#2b0a31',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a31;
$custom-light: #664c69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a31",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 290.769,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22224,
    "c": 0.08019,
    "h": 321.1
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#2B0A31
secondary
#336E29
accent
#E93F59
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0A31

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

Preview Lab → · Contrast checker → · Palette generator →

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