#2B0A32#2B0A32

#2B0A32 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.081 H 320.1°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2B0A32
RGBrgb(43, 10, 50)
HSLhsl(290, 67%, 12%)
HSVhsv(290, 80%, 20%)
CMYKcmyk(14%, 80%, 0%, 80.4%)
CIE-LABlab(8.66, 23.95, -18.64)
CIE-LCHlch(8.66, 30.35, 322.11°)
OKLaboklab(22.3% 0.0624 -0.0521)
OKLCHoklch(22.3% 0.081 320.1)
XYZxyz(1.6805, 0.9610, 3.1140)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A32 #11320A
analogous
#170A32 #2B0A32 #320A25
triadic
#2B0A32 #322B0A #0A322B
tetradic
#2B0A32 #32170A #11320A #0A2532
square
#2B0A32 #32170A #11320A #0A2532
split-complementary
#2B0A32 #25320A #0A3217
monochromatic
#16051A #16051A #2B0A32 #571465 #831E98

Accessibility & contrast

On white

17.61
#2B0A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A32
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A32#FFFFFF#000000##FFFFFF
##2B0A321.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0a32;
/* rgb */ color: rgb(43, 10, 50);
/* oklch */ color: oklch(22.3% 0.081 320.1);
Tailwind
colors: {
  custom: {
    50: '#664c6a',
    500: '#2b0a32',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a32;
$custom-light: #664c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a32",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 50
  },
  "hsl": {
    "h": 289.5,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.223,
    "c": 0.08132,
    "h": 320.1
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#2B0A32
secondary
#356F28
accent
#EA3E5C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0A32

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

Preview Lab → · Contrast checker → · Palette generator →

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