#2B0535#2B0535

#2B0535 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.093 H 318.2°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#2B0535
RGBrgb(43, 5, 53)
HSLhsl(288, 83%, 11%)
HSVhsv(288, 91%, 21%)
CMYKcmyk(18.9%, 90.6%, 0%, 79.2%)
CIE-LABlab(7.94, 27.38, -21.99)
CIE-LCHlch(7.94, 35.12, 321.22°)
OKLaboklab(21.86% 0.0693 -0.0619)
OKLCHoklch(21.86% 0.093 318.2)
XYZxyz(1.6930, 0.8793, 3.4480)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0535 #0F3505
analogous
#130535 #2B0535 #350527
triadic
#2B0535 #352B05 #05352B
tetradic
#2B0535 #351305 #0F3505 #052735
square
#2B0535 #351305 #0F3505 #052735
split-complementary
#2B0535 #273505 #053513
monochromatic
#17031C #17031C #2B0535 #580A6D #8610A5

Accessibility & contrast

On white

17.86
#2B0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0535
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0535#FFFFFF#000000##FFFFFF
##2B05351.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#071934
Tritanopia (blue-blind)
#2B0F1D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0535;
/* rgb */ color: rgb(43, 5, 53);
/* oklch */ color: oklch(21.9% 0.093 318.2);
Tailwind
colors: {
  custom: {
    50: '#67496c',
    500: '#2b0535',
    950: '#000000',
  },
}
SCSS
$custom: #2b0535;
$custom-light: #67496c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0535",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 287.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21863,
    "c": 0.09288,
    "h": 318.2
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#2B0535
secondary
#327620
accent
#F92F59
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0535

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

Preview Lab → · Contrast checker → · Palette generator →

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