#2B0C2F#2B0C2F

#2B0C2F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.074 H 323.0°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#2B0C2F
RGBrgb(43, 12, 47)
HSLhsl(293, 59%, 12%)
HSVhsv(293, 74%, 18%)
CMYKcmyk(8.5%, 74.5%, 0%, 81.6%)
CIE-LABlab(8.84, 22.16, -16.15)
CIE-LCHlch(8.84, 27.42, 323.91°)
OKLaboklab(22.36% 0.0595 -0.0449)
OKLCHoklch(22.36% 0.074 323)
XYZxyz(1.6408, 0.9819, 2.7919)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0C2F #102F0C
analogous
#1A0C2F #2B0C2F #2F0C22
triadic
#2B0C2F #2F2B0C #0C2F2B
tetradic
#2B0C2F #2F1A0C #102F0C #0C222F
square
#2B0C2F #2F1A0C #102F0C #0C222F
split-complementary
#2B0C2F #222F0C #0C2F1A
monochromatic
#160618 #160618 #2B0C2F #581860 #842591

Accessibility & contrast

On white

17.55
#2B0C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B0C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0C2F
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0C2F#FFFFFF#000000##FFFFFF
##2B0C2F1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#111A2E
Tritanopia (blue-blind)
#2C111C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0c2f;
/* rgb */ color: rgb(43, 12, 47);
/* oklch */ color: oklch(22.4% 0.074 323.0);
Tailwind
colors: {
  custom: {
    50: '#664d67',
    500: '#2b0c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b0c2f;
$custom-light: #664d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0c2f",
  "rgb": {
    "r": 43,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 293.143,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22359,
    "c": 0.07449,
    "h": 323
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#2B0C2F
secondary
#336B2C
accent
#E34557
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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