#2B0D36#2B0D36

#2B0D36 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.081 H 315.7°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2B0D36
RGBrgb(43, 13, 54)
HSLhsl(284, 61%, 13%)
HSVhsv(284, 76%, 21%)
CMYKcmyk(20.4%, 75.9%, 0%, 78.8%)
CIE-LABlab(9.54, 23.32, -20.15)
CIE-LCHlch(9.54, 30.82, 319.16°)
OKLaboklab(23.03% 0.058 -0.0566)
OKLCHoklch(23.03% 0.081 315.7)
XYZxyz(1.8059, 1.0678, 3.6003)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D36 #18360D
analogous
#160D36 #2B0D36 #360D2C
triadic
#2B0D36 #362B0D #0D362B
tetradic
#2B0D36 #36160D #18360D #0D2C36
square
#2B0D36 #36160D #18360D #0D2C36
split-complementary
#2B0D36 #2C360D #0D3616
monochromatic
#140619 #140619 #2B0D36 #521967 #7A2599

Accessibility & contrast

On white

17.30
#2B0D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0D36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D36
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D36#FFFFFF#000000##FFFFFF
##2B0D361.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011937
Deuteranopia (green-blind)
#0D1B35
Tritanopia (blue-blind)
#2A1520
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0d36;
/* rgb */ color: rgb(43, 13, 54);
/* oklch */ color: oklch(23.0% 0.081 315.7);
Tailwind
colors: {
  custom: {
    50: '#664e6d',
    500: '#2b0d36',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d36;
$custom-light: #664e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d36",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 283.902,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23031,
    "c": 0.08103,
    "h": 315.7
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#2B0D36
secondary
#40712D
accent
#E4436F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0D36

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

Preview Lab → · Contrast checker → · Palette generator →

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