#2B022F#2B022F

#2B022F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.093 H 324.2°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#2B022F
RGBrgb(43, 2, 47)
HSLhsl(295, 92%, 10%)
HSVhsv(295, 96%, 18%)
CMYKcmyk(8.5%, 95.7%, 0%, 81.6%)
CIE-LABlab(6.89, 27.63, -19.26)
CIE-LCHlch(6.89, 33.68, 325.12°)
OKLaboklab(20.92% 0.0751 -0.0541)
OKLCHoklch(20.92% 0.093 324.2)
XYZxyz(1.5310, 0.7623, 2.7553)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B022F #062F02
analogous
#15022F #2B022F #2F021D
triadic
#2B022F #2F2B02 #022F2B
tetradic
#2B022F #2F1502 #062F02 #021D2F
square
#2B022F #2F1502 #062F02 #021D2F
split-complementary
#2B022F #1D2F02 #022F15
monochromatic
#1B011D #1B011D #2B022F #61046A #9607A4

Accessibility & contrast

On white

18.22
#2B022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B022F
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B022F#FFFFFF#000000##FFFFFF
##2B022F1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#0A172E
Tritanopia (blue-blind)
#2C0918
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b022f;
/* rgb */ color: rgb(43, 2, 47);
/* oklch */ color: oklch(20.9% 0.093 324.2);
Tailwind
colors: {
  custom: {
    50: '#674768',
    500: '#2b022f',
    950: '#000000',
  },
}
SCSS
$custom: #2b022f;
$custom-light: #674768;
$custom-dark: #000000;
JSON
{
  "hex": "#2b022f",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 294.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20923,
    "c": 0.09255,
    "h": 324.2
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#2B022F
secondary
#217419
accent
#FF293C
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2B022F

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

Preview Lab → · Contrast checker → · Palette generator →

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