#2B052F#2B052F

#2B052F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.087 H 323.8°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#2B052F
RGBrgb(43, 5, 47)
HSLhsl(294, 81%, 10%)
HSVhsv(294, 89%, 18%)
CMYKcmyk(8.5%, 89.4%, 0%, 81.6%)
CIE-LABlab(7.47, 25.98, -18.32)
CIE-LCHlch(7.47, 31.79, 324.81°)
OKLaboklab(21.37% 0.0701 -0.0512)
OKLCHoklch(21.37% 0.087 323.8)
XYZxyz(1.5636, 0.8275, 2.7661)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B052F #092F05
analogous
#16052F #2B052F #2F051E
triadic
#2B052F #2F2B05 #052F2B
tetradic
#2B052F #2F1605 #092F05 #051E2F
square
#2B052F #2F1605 #092F05 #051E2F
split-complementary
#2B052F #1E2F05 #052F16
monochromatic
#19031C #19031C #2B052F #5E0B66 #90119E

Accessibility & contrast

On white

18.02
#2B052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B052F
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B052F#FFFFFF#000000##FFFFFF
##2B052F1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#0C182E
Tritanopia (blue-blind)
#2C0C19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b052f;
/* rgb */ color: rgb(43, 5, 47);
/* oklch */ color: oklch(21.4% 0.087 323.8);
Tailwind
colors: {
  custom: {
    50: '#664968',
    500: '#2b052f',
    950: '#000000',
  },
}
SCSS
$custom: #2b052f;
$custom-light: #664968;
$custom-dark: #000000;
JSON
{
  "hex": "#2b052f",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 294.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2137,
    "c": 0.08677,
    "h": 323.8
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#2B052F
secondary
#27711F
accent
#F73144
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B052F

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

Preview Lab → · Contrast checker → · Palette generator →

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