#2B022E#2B022E

#2B022E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.092 H 325.2°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#2B022E
RGBrgb(43, 2, 46)
HSLhsl(296, 92%, 9%)
HSVhsv(296, 96%, 18%)
CMYKcmyk(6.5%, 95.7%, 0%, 82%)
CIE-LABlab(6.81, 27.39, -18.63)
CIE-LCHlch(6.81, 33.12, 325.78°)
OKLaboklab(20.84% 0.0752 -0.0523)
OKLCHoklch(20.84% 0.092 325.2)
XYZxyz(1.5111, 0.7544, 2.6503)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B022E #052E02
analogous
#15022E #2B022E #2E021B
triadic
#2B022E #2E2B02 #022E2B
tetradic
#2B022E #2E1502 #052E02 #021B2E
square
#2B022E #2E1502 #052E02 #021B2E
split-complementary
#2B022E #1B2E02 #022E15
monochromatic
#1B011D #1B011D #2B022E #620569 #9907A3

Accessibility & contrast

On white

18.25
#2B022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B022E
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B022E#FFFFFF#000000##FFFFFF
##2B022E1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#0A172D
Tritanopia (blue-blind)
#2C0917
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b022e;
/* rgb */ color: rgb(43, 2, 46);
/* oklch */ color: oklch(20.8% 0.092 325.2);
Tailwind
colors: {
  custom: {
    50: '#674767',
    500: '#2b022e',
    950: '#000000',
  },
}
SCSS
$custom: #2b022e;
$custom-light: #674767;
$custom-dark: #000000;
JSON
{
  "hex": "#2b022e",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 295.909,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20842,
    "c": 0.09163,
    "h": 325.2
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#2B022E
secondary
#1F7319
accent
#FF2937
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2B022E

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

Preview Lab → · Contrast checker → · Palette generator →

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