#2B0533#2B0533

#2B0533 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.091 H 320.0°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#2B0533
RGBrgb(43, 5, 51)
HSLhsl(290, 82%, 11%)
HSVhsv(290, 90%, 20%)
CMYKcmyk(15.7%, 90.2%, 0%, 80%)
CIE-LABlab(7.78, 26.92, -20.79)
CIE-LCHlch(7.78, 34.01, 322.32°)
OKLaboklab(21.69% 0.0696 -0.0584)
OKLCHoklch(21.69% 0.091 320)
XYZxyz(1.6480, 0.8612, 3.2108)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0533 #0D3305
analogous
#140533 #2B0533 #330524
triadic
#2B0533 #332B05 #05332B
tetradic
#2B0533 #331405 #0D3305 #052433
square
#2B0533 #331405 #0D3305 #052433
split-complementary
#2B0533 #243305 #053314
monochromatic
#17031C #17031C #2B0533 #5A0A6B #8910A2

Accessibility & contrast

On white

17.92
#2B0533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2B0533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0533
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0533#FFFFFF#000000##FFFFFF
##2B05331.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001434
Deuteranopia (green-blind)
#091832
Tritanopia (blue-blind)
#2B0E1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0533;
/* rgb */ color: rgb(43, 5, 51);
/* oklch */ color: oklch(21.7% 0.091 320.0);
Tailwind
colors: {
  custom: {
    50: '#67496b',
    500: '#2b0533',
    950: '#000000',
  },
}
SCSS
$custom: #2b0533;
$custom-light: #67496b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0533",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 289.565,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21694,
    "c": 0.09082,
    "h": 320
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#2B0533
secondary
#2E741F
accent
#F82F52
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0533

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

Preview Lab → · Contrast checker → · Palette generator →

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