#2B022C#2B022C

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

Color values

HEX#2B022C
RGBrgb(43, 2, 44)
HSLhsl(299, 91%, 9%)
HSVhsv(299, 95%, 17%)
CMYKcmyk(2.3%, 95.5%, 0%, 82.7%)
CIE-LABlab(6.68, 26.91, -17.35)
CIE-LCHlch(6.68, 32.02, 327.19°)
OKLaboklab(20.68% 0.0755 -0.0487)
OKLCHoklch(20.68% 0.09 327.2)
XYZxyz(1.4726, 0.7390, 2.4475)
Luminance0.0074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B022C #032C02
analogous
#16022C #2B022C #2C0218
triadic
#2B022C #2C2B02 #022C2B
tetradic
#2B022C #2C1602 #032C02 #02182C
square
#2B022C #2C1602 #032C02 #02182C
split-complementary
#2B022C #182C02 #022C16
monochromatic
#1D011D #1D011D #2B022C #640567 #9D07A1

Accessibility & contrast

On white

18.30
#2B022C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2B022C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B022C
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B022C#FFFFFF#000000##FFFFFF
##2B022C1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#0C172B
Tritanopia (blue-blind)
#2D0816
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b022c;
/* rgb */ color: rgb(43, 2, 44);
/* oklch */ color: oklch(20.7% 0.090 327.2);
Tailwind
colors: {
  custom: {
    50: '#664765',
    500: '#2b022c',
    950: '#000000',
  },
}
SCSS
$custom: #2b022c;
$custom-light: #664765;
$custom-dark: #000000;
JSON
{
  "hex": "#2b022c",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 44
  },
  "hsl": {
    "h": 298.571,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20682,
    "c": 0.08981,
    "h": 327.2
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#2B022C
secondary
#1B7119
accent
#FF292E
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060005
muted
#7A777A

Preview Lab

Preview with #2B022C

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

Preview Lab → · Contrast checker → · Palette generator →

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