#2B102F#2B102F

#2B102F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.067 H 322.3°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2B102F
RGBrgb(43, 16, 47)
HSLhsl(292, 49%, 12%)
HSVhsv(292, 66%, 18%)
CMYKcmyk(8.5%, 66%, 0%, 81.6%)
CIE-LABlab(9.72, 19.78, -14.76)
CIE-LCHlch(9.72, 24.68, 323.26°)
OKLaboklab(23% 0.053 -0.0409)
OKLCHoklch(23% 0.067 322.3)
XYZxyz(1.6946, 1.0895, 2.8098)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B102F #142F10
analogous
#1C102F #2B102F #2F1024
triadic
#2B102F #2F2B10 #102F2B
tetradic
#2B102F #2F1C10 #142F10 #10242F
square
#2B102F #2F1C10 #142F10 #10242F
split-complementary
#2B102F #242F10 #102F1C
monochromatic
#150817 #150817 #2B102F #55205D #7F2F8A

Accessibility & contrast

On white

17.24
#2B102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B102F
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B102F#FFFFFF#000000##FFFFFF
##2B102F1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#2C141D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b102f;
/* rgb */ color: rgb(43, 16, 47);
/* oklch */ color: oklch(23.0% 0.067 322.3);
Tailwind
colors: {
  custom: {
    50: '#654f67',
    500: '#2b102f',
    950: '#000000',
  },
}
SCSS
$custom: #2b102f;
$custom-light: #654f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b102f",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 292.258,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22999,
    "c": 0.06691,
    "h": 322.3
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#2B102F
secondary
#3A6833
accent
#D94F61
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B102F

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

Preview Lab → · Contrast checker → · Palette generator →

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