#2B072E#2B072E

#2B072E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.082 H 324.6°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#2B072E
RGBrgb(43, 7, 46)
HSLhsl(295, 74%, 10%)
HSVhsv(295, 85%, 18%)
CMYKcmyk(6.5%, 84.8%, 0%, 82%)
CIE-LABlab(7.79, 24.65, -17.07)
CIE-LCHlch(7.79, 29.98, 325.30°)
OKLaboklab(21.58% 0.0669 -0.0475)
OKLCHoklch(21.58% 0.082 324.6)
XYZxyz(1.5653, 0.8629, 2.6683)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B072E #0A2E07
analogous
#17072E #2B072E #2E071D
triadic
#2B072E #2E2B07 #072E2B
tetradic
#2B072E #2E1707 #0A2E07 #071D2E
square
#2B072E #2E1707 #0A2E07 #071D2E
split-complementary
#2B072E #1D2E07 #072E17
monochromatic
#19041B #19041B #2B072E #5D0F63 #8E1798

Accessibility & contrast

On white

17.91
#2B072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B072E
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B072E#FFFFFF#000000##FFFFFF
##2B072E1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142F
Deuteranopia (green-blind)
#0E192D
Tritanopia (blue-blind)
#2C0D19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b072e;
/* rgb */ color: rgb(43, 7, 46);
/* oklch */ color: oklch(21.6% 0.082 324.6);
Tailwind
colors: {
  custom: {
    50: '#664a67',
    500: '#2b072e',
    950: '#000000',
  },
}
SCSS
$custom: #2b072e;
$custom-light: #664a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b072e",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 295.385,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21582,
    "c": 0.08209,
    "h": 324.6
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#2B072E
secondary
#296E23
accent
#F03846
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B072E

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

Preview Lab → · Contrast checker → · Palette generator →

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