#2B072F#2B072F

#2B072F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.083 H 323.6°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2B072F
RGBrgb(43, 7, 47)
HSLhsl(294, 74%, 11%)
HSVhsv(294, 85%, 18%)
CMYKcmyk(8.5%, 85.1%, 0%, 81.6%)
CIE-LABlab(7.87, 24.88, -17.70)
CIE-LCHlch(7.87, 30.53, 324.57°)
OKLaboklab(21.66% 0.0669 -0.0493)
OKLCHoklch(21.66% 0.083 323.6)
XYZxyz(1.5853, 0.8709, 2.7734)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B072F #0B2F07
analogous
#17072F #2B072F #2F071F
triadic
#2B072F #2F2B07 #072F2B
tetradic
#2B072F #2F1707 #0B2F07 #071F2F
square
#2B072F #2F1707 #0B2F07 #071F2F
split-complementary
#2B072F #1F2F07 #072F17
monochromatic
#18041B #18041B #2B072F #5C0F64 #8C179A

Accessibility & contrast

On white

17.88
#2B072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2B072F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B072F
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B072F#FFFFFF#000000##FFFFFF
##2B072F1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001530
Deuteranopia (green-blind)
#0E192E
Tritanopia (blue-blind)
#2C0E1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b072f;
/* rgb */ color: rgb(43, 7, 47);
/* oklch */ color: oklch(21.7% 0.083 323.6);
Tailwind
colors: {
  custom: {
    50: '#664a68',
    500: '#2b072f',
    950: '#000000',
  },
}
SCSS
$custom: #2b072f;
$custom-light: #664a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b072f",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 294,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21658,
    "c": 0.08313,
    "h": 323.6
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#2B072F
secondary
#2B6F23
accent
#F1374A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B072F

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

Preview Lab → · Contrast checker → · Palette generator →

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