#2B042F#2B042F

#2B042F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.089 H 324.0°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#2B042F
RGBrgb(43, 4, 47)
HSLhsl(294, 84%, 10%)
HSVhsv(294, 91%, 18%)
CMYKcmyk(8.5%, 91.5%, 0%, 81.6%)
CIE-LABlab(7.28, 26.53, -18.63)
CIE-LCHlch(7.28, 32.42, 324.92°)
OKLaboklab(21.22% 0.0717 -0.0521)
OKLCHoklch(21.22% 0.089 324)
XYZxyz(1.5527, 0.8058, 2.7625)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B042F #082F04
analogous
#16042F #2B042F #2F041D
triadic
#2B042F #2F2B04 #042F2B
tetradic
#2B042F #2F1604 #082F04 #041D2F
square
#2B042F #2F1604 #082F04 #041D2F
split-complementary
#2B042F #1D2F04 #042F16
monochromatic
#1A021C #1A021C #2B042F #5F0967 #920EA0

Accessibility & contrast

On white

18.08
#2B042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B042F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B042F
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B042F#FFFFFF#000000##FFFFFF
##2B042F1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#0B182E
Tritanopia (blue-blind)
#2C0B19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b042f;
/* rgb */ color: rgb(43, 4, 47);
/* oklch */ color: oklch(21.2% 0.089 324.0);
Tailwind
colors: {
  custom: {
    50: '#664968',
    500: '#2b042f',
    950: '#000000',
  },
}
SCSS
$custom: #2b042f;
$custom-light: #664968;
$custom-dark: #000000;
JSON
{
  "hex": "#2b042f",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 294.419,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.21224,
    "c": 0.08865,
    "h": 324
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#2B042F
secondary
#25721D
accent
#FB2D40
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B042F

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

Preview Lab → · Contrast checker → · Palette generator →

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