#2B0534#2B0534

#2B0534 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.092 H 319.1°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#2B0534
RGBrgb(43, 5, 52)
HSLhsl(289, 82%, 11%)
HSVhsv(289, 90%, 20%)
CMYKcmyk(17.3%, 90.4%, 0%, 79.6%)
CIE-LABlab(7.86, 27.15, -21.40)
CIE-LCHlch(7.86, 34.57, 321.76°)
OKLaboklab(21.78% 0.0694 -0.0601)
OKLCHoklch(21.78% 0.092 319.1)
XYZxyz(1.6703, 0.8701, 3.3281)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0534 #0E3405
analogous
#130534 #2B0534 #340525
triadic
#2B0534 #342B05 #05342B
tetradic
#2B0534 #341305 #0E3405 #052534
square
#2B0534 #341305 #0E3405 #052534
split-complementary
#2B0534 #253405 #053413
monochromatic
#17031C #17031C #2B0534 #590A6C #8710A4

Accessibility & contrast

On white

17.89
#2B0534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0534
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0534#FFFFFF#000000##FFFFFF
##2B05341.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#081833
Tritanopia (blue-blind)
#2B0F1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0534;
/* rgb */ color: rgb(43, 5, 52);
/* oklch */ color: oklch(21.8% 0.092 319.1);
Tailwind
colors: {
  custom: {
    50: '#67496c',
    500: '#2b0534',
    950: '#000000',
  },
}
SCSS
$custom: #2b0534;
$custom-light: #67496c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0534",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 52
  },
  "hsl": {
    "h": 288.511,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21778,
    "c": 0.09185,
    "h": 319.1
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#2B0534
secondary
#30751F
accent
#F92F56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0534

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

Preview Lab → · Contrast checker → · Palette generator →

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