#2B0026#2B0026

#2B0026 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.089 H 333.6°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#2B0026
RGBrgb(43, 0, 38)
HSLhsl(307, 100%, 8%)
HSVhsv(307, 100%, 17%)
CMYKcmyk(0%, 100%, 11.6%, 83.1%)
CIE-LABlab(5.90, 26.55, -14.00)
CIE-LCHlch(5.90, 30.02, 332.19°)
OKLaboklab(19.9% 0.0798 -0.0396)
OKLCHoklch(19.9% 0.089 333.6)
XYZxyz(1.3461, 0.6537, 1.8886)
Luminance0.0065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0026 #002B05
analogous
#1A002B #2B0026 #2B0010
triadic
#2B0026 #262B00 #00262B
tetradic
#2B0026 #2B1A00 #002B05 #00102B
square
#2B0026 #2B1A00 #002B05 #00102B
split-complementary
#2B0026 #102B00 #002B1A
monochromatic
#1F001B #1F001B #2B0026 #68005C #A50092

Accessibility & contrast

On white

18.57
#2B0026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0026
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0026#FFFFFF#000000##FFFFFF
##2B00261.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F27
Deuteranopia (green-blind)
#0E1525
Tritanopia (blue-blind)
#2E0312
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0026;
/* rgb */ color: rgb(43, 0, 38);
/* oklch */ color: oklch(19.9% 0.089 333.6);
Tailwind
colors: {
  custom: {
    50: '#664660',
    500: '#2b0026',
    950: '#000000',
  },
}
SCSS
$custom: #2b0026;
$custom-light: #664660;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0026",
  "rgb": {
    "r": 43,
    "g": 0,
    "b": 38
  },
  "hsl": {
    "h": 306.977,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.199,
    "c": 0.08909,
    "h": 333.6
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#2B0026
secondary
#14731F
accent
#FF4229
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060005
muted
#7A7779

Preview Lab

Preview with #2B0026

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

Preview Lab → · Contrast checker → · Palette generator →

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