#2B102C#2B102C

#2B102C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.8% C 0.063 H 326.0°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#2B102C
RGBrgb(43, 16, 44)
HSLhsl(298, 47%, 12%)
HSVhsv(298, 64%, 17%)
CMYKcmyk(2.3%, 63.6%, 0%, 82.7%)
CIE-LABlab(9.53, 19.06, -12.84)
CIE-LCHlch(9.53, 22.98, 326.02°)
OKLaboklab(22.8% 0.0525 -0.0353)
OKLCHoklch(22.8% 0.063 326)
XYZxyz(1.6361, 1.0661, 2.5020)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B102C #112C10
analogous
#1D102C #2B102C #2C101F
triadic
#2B102C #2C2B10 #102C2B
tetradic
#2B102C #2C1D10 #112C10 #101F2C
square
#2B102C #2C1D10 #112C10 #101F2C
split-complementary
#2B102C #1F2C10 #102C1D
monochromatic
#160816 #160816 #2B102C #572059 #833186

Accessibility & contrast

On white

17.31
#2B102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B102C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B102C
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B102C#FFFFFF#000000##FFFFFF
##2B102C1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182D
Deuteranopia (green-blind)
#151C2B
Tritanopia (blue-blind)
#2C131C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b102c;
/* rgb */ color: rgb(43, 16, 44);
/* oklch */ color: oklch(22.8% 0.063 326.0);
Tailwind
colors: {
  custom: {
    50: '#654f65',
    500: '#2b102c',
    950: '#000000',
  },
}
SCSS
$custom: #2b102c;
$custom-light: #654f65;
$custom-dark: #000000;
JSON
{
  "hex": "#2b102c",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 297.857,
    "s": 46.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22802,
    "c": 0.06329,
    "h": 326
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#2B102C
secondary
#356533
accent
#D65156
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2B102C

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

Preview Lab → · Contrast checker → · Palette generator →

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