#2B0024#2B0024

#2B0024 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.8% C 0.087 H 335.9°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#2B0024
RGBrgb(43, 0, 36)
HSLhsl(310, 100%, 8%)
HSVhsv(310, 100%, 17%)
CMYKcmyk(0%, 100%, 16.3%, 83.1%)
CIE-LABlab(5.79, 26.10, -12.64)
CIE-LCHlch(5.79, 29.00, 334.15°)
OKLaboklab(19.76% 0.0799 -0.0358)
OKLCHoklch(19.76% 0.088 335.9)
XYZxyz(1.3147, 0.6411, 1.7232)
Luminance0.0064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0024 #002B07
analogous
#1C002B #2B0024 #2B000E
triadic
#2B0024 #242B00 #00242B
tetradic
#2B0024 #2B1C00 #002B07 #000E2B
square
#2B0024 #2B1C00 #002B07 #000E2B
split-complementary
#2B0024 #0E2B00 #002B1C
monochromatic
#1F001A #1F001A #2B0024 #680057 #A5008A

Accessibility & contrast

On white

18.61
#2B0024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2B0024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0024
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0024#FFFFFF#000000##FFFFFF
##2B00241.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E25
Deuteranopia (green-blind)
#0F1523
Tritanopia (blue-blind)
#2E0211
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0024;
/* rgb */ color: rgb(43, 0, 36);
/* oklch */ color: oklch(19.8% 0.087 335.9);
Tailwind
colors: {
  custom: {
    50: '#66465e',
    500: '#2b0024',
    950: '#000000',
  },
}
SCSS
$custom: #2b0024;
$custom-light: #66465e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0024",
  "rgb": {
    "r": 43,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 309.767,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19756,
    "c": 0.0875,
    "h": 335.9
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#2B0024
secondary
#147324
accent
#FF4C29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2B0024

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

Preview Lab → · Contrast checker → · Palette generator →

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