#2B0333#2B0333

#2B0333 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.094 H 320.3°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#2B0333
RGBrgb(43, 3, 51)
HSLhsl(290, 89%, 11%)
HSVhsv(290, 94%, 20%)
CMYKcmyk(15.7%, 94.1%, 0%, 80%)
CIE-LABlab(7.39, 28.04, -21.42)
CIE-LCHlch(7.39, 35.28, 322.62°)
OKLaboklab(21.41% 0.0727 -0.0603)
OKLCHoklch(21.41% 0.094 320.3)
XYZxyz(1.6263, 0.8178, 3.2035)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0333 #0B3303
analogous
#130333 #2B0333 #330323
triadic
#2B0333 #332B03 #03332B
tetradic
#2B0333 #331303 #0B3303 #032333
square
#2B0333 #331303 #0B3303 #032333
split-complementary
#2B0333 #233303 #033313
monochromatic
#18021D #18021D #2B0333 #5C066D #8C0AA7

Accessibility & contrast

On white

18.05
#2B0333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B0333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0333
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0333#FFFFFF#000000##FFFFFF
##2B03331.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#071832
Tritanopia (blue-blind)
#2B0C1B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0333;
/* rgb */ color: rgb(43, 3, 51);
/* oklch */ color: oklch(21.4% 0.094 320.3);
Tailwind
colors: {
  custom: {
    50: '#67486b',
    500: '#2b0333',
    950: '#000000',
  },
}
SCSS
$custom: #2b0333;
$custom-light: #67486b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0333",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 290,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21408,
    "c": 0.09444,
    "h": 320.3
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#2B0333
secondary
#2B761C
accent
#FF294D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0333

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

Preview Lab → · Contrast checker → · Palette generator →

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