#2B0027#2B0027

#2B0027 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.090 H 332.5°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#2B0027
RGBrgb(43, 0, 39)
HSLhsl(306, 100%, 8%)
HSVhsv(306, 100%, 17%)
CMYKcmyk(0%, 100%, 9.3%, 83.1%)
CIE-LABlab(5.96, 26.79, -14.68)
CIE-LCHlch(5.96, 30.55, 331.28°)
OKLaboklab(19.97% 0.0798 -0.0415)
OKLCHoklch(19.97% 0.09 332.5)
XYZxyz(1.3625, 0.6602, 1.9747)
Luminance0.0066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0027 #002B04
analogous
#19002B #2B0027 #2B0011
triadic
#2B0027 #272B00 #00272B
tetradic
#2B0027 #2B1900 #002B04 #00112B
square
#2B0027 #2B1900 #002B04 #00112B
split-complementary
#2B0027 #112B00 #002B19
monochromatic
#1F001C #1F001C #2B0027 #68005F #A50096

Accessibility & contrast

On white

18.55
#2B0027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0027
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0027#FFFFFF#000000##FFFFFF
##2B00271.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F28
Deuteranopia (green-blind)
#0E1526
Tritanopia (blue-blind)
#2D0413
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b0027;
/* rgb */ color: rgb(43, 0, 39);
/* oklch */ color: oklch(20.0% 0.090 332.5);
Tailwind
colors: {
  custom: {
    50: '#664661',
    500: '#2b0027',
    950: '#000000',
  },
}
SCSS
$custom: #2b0027;
$custom-light: #664661;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0027",
  "rgb": {
    "r": 43,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 305.581,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19974,
    "c": 0.0899,
    "h": 332.5
  },
  "luminance": 0.0066
}

Semantic roles & 50–950 ramp

primary
#2B0027
secondary
#14731D
accent
#FF3D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060005
muted
#7A7779

Preview Lab

Preview with #2B0027

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

Preview Lab → · Contrast checker → · Palette generator →

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