#2B1335#2B1335

#2B1335 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.069 H 315.0°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#2B1335
RGBrgb(43, 19, 53)
HSLhsl(282, 47%, 14%)
HSVhsv(282, 64%, 21%)
CMYKcmyk(18.9%, 64.2%, 0%, 79.2%)
CIE-LABlab(10.82, 19.40, -17.39)
CIE-LCHlch(10.82, 26.05, 318.13°)
OKLaboklab(23.94% 0.0485 -0.0485)
OKLCHoklch(23.94% 0.069 315)
XYZxyz(1.8716, 1.2364, 3.5075)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1335 #1D3513
analogous
#1A1335 #2B1335 #35132E
triadic
#2B1335 #352B13 #13352B
tetradic
#2B1335 #351A13 #1D3513 #132E35
square
#2B1335 #351A13 #1D3513 #132E35
split-complementary
#2B1335 #2E3513 #13351A
monochromatic
#120817 #120817 #2B1335 #502362 #74338F

Accessibility & contrast

On white

16.84
#2B1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2B1335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1335
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1335#FFFFFF#000000##FFFFFF
##2B13351.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1C36
Deuteranopia (green-blind)
#131E34
Tritanopia (blue-blind)
#2A1821
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b1335;
/* rgb */ color: rgb(43, 19, 53);
/* oklch */ color: oklch(23.9% 0.069 315.0);
Tailwind
colors: {
  custom: {
    50: '#65526c',
    500: '#2b1335',
    950: '#000000',
  },
}
SCSS
$custom: #2b1335;
$custom-light: #65526c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1335",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 282.353,
    "s": 47.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2394,
    "c": 0.06864,
    "h": 315
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#2B1335
secondary
#476D37
accent
#D75178
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B1335

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

Preview Lab → · Contrast checker → · Palette generator →

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