#2B0636#2B0636

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

Color values

HEX#2B0636
RGBrgb(43, 6, 54)
HSLhsl(286, 80%, 12%)
HSVhsv(286, 89%, 21%)
CMYKcmyk(20.4%, 88.9%, 0%, 78.8%)
CIE-LABlab(8.22, 27.05, -22.28)
CIE-LCHlch(8.22, 35.04, 320.53°)
OKLaboklab(22.09% 0.0676 -0.0627)
OKLCHoklch(22.09% 0.092 317.2)
XYZxyz(1.7271, 0.9103, 3.5740)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0636 #113606
analogous
#130636 #2B0636 #360629
triadic
#2B0636 #362B06 #06362B
tetradic
#2B0636 #361306 #113606 #062936
square
#2B0636 #361306 #113606 #062936
split-complementary
#2B0636 #293606 #063613
monochromatic
#16031C #16031C #2B0636 #570C6D #8312A4

Accessibility & contrast

On white

17.77
#2B0636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0636
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0636#FFFFFF#000000##FFFFFF
##2B06361.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#071935
Tritanopia (blue-blind)
#2A101D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0636;
/* rgb */ color: rgb(43, 6, 54);
/* oklch */ color: oklch(22.1% 0.092 317.2);
Tailwind
colors: {
  custom: {
    50: '#674a6d',
    500: '#2b0636',
    950: '#000000',
  },
}
SCSS
$custom: #2b0636;
$custom-light: #674a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0636",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 286.25,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22085,
    "c": 0.09224,
    "h": 317.2
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#2B0636
secondary
#357621
accent
#F6315F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0636

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

Preview Lab → · Contrast checker → · Palette generator →

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