#2B0537#2B0537

#2B0537 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.095 H 316.5°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#2B0537
RGBrgb(43, 5, 55)
HSLhsl(286, 83%, 12%)
HSVhsv(286, 91%, 22%)
CMYKcmyk(21.8%, 90.9%, 0%, 78.4%)
CIE-LABlab(8.11, 27.85, -23.18)
CIE-LCHlch(8.11, 36.24, 320.23°)
OKLaboklab(22.04% 0.0689 -0.0654)
OKLCHoklch(22.04% 0.095 316.5)
XYZxyz(1.7400, 0.8980, 3.6954)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0537 #113705
analogous
#120537 #2B0537 #37052A
triadic
#2B0537 #372B05 #05372B
tetradic
#2B0537 #371205 #113705 #052A37
square
#2B0537 #371205 #113705 #052A37
split-complementary
#2B0537 #2A3705 #053712
monochromatic
#16031C #16031C #2B0537 #570A6F #830FA7

Accessibility & contrast

On white

17.80
#2B0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2B0537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0537
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0537#FFFFFF#000000##FFFFFF
##2B05371.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#051936
Tritanopia (blue-blind)
#2A101E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0537;
/* rgb */ color: rgb(43, 5, 55);
/* oklch */ color: oklch(22.0% 0.095 316.5);
Tailwind
colors: {
  custom: {
    50: '#674a6e',
    500: '#2b0537',
    950: '#000000',
  },
}
SCSS
$custom: #2b0537;
$custom-light: #674a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0537",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 285.6,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22036,
    "c": 0.09495,
    "h": 316.5
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#2B0537
secondary
#357820
accent
#FA2E5F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0537

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

Preview Lab → · Contrast checker → · Palette generator →

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