#2B0637#2B0637

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

Color values

HEX#2B0637
RGBrgb(43, 6, 55)
HSLhsl(285, 80%, 12%)
HSVhsv(285, 89%, 22%)
CMYKcmyk(21.8%, 89.1%, 0%, 78.4%)
CIE-LABlab(8.30, 27.29, -22.87)
CIE-LCHlch(8.30, 35.61, 320.04°)
OKLaboklab(22.17% 0.0675 -0.0645)
OKLCHoklch(22.17% 0.093 316.3)
XYZxyz(1.7509, 0.9197, 3.6990)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0637 #123706
analogous
#130637 #2B0637 #37062B
triadic
#2B0637 #372B06 #06372B
tetradic
#2B0637 #371306 #123706 #062B37
square
#2B0637 #371306 #123706 #062B37
split-complementary
#2B0637 #2B3706 #063713
monochromatic
#16031C #16031C #2B0637 #560C6E #8112A5

Accessibility & contrast

On white

17.74
#2B0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0637
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0637#FFFFFF#000000##FFFFFF
##2B06371.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#061936
Tritanopia (blue-blind)
#2A111E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0637;
/* rgb */ color: rgb(43, 6, 55);
/* oklch */ color: oklch(22.2% 0.093 316.3);
Tailwind
colors: {
  custom: {
    50: '#674a6e',
    500: '#2b0637',
    950: '#000000',
  },
}
SCSS
$custom: #2b0637;
$custom-light: #674a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0637",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 285.306,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22171,
    "c": 0.09331,
    "h": 316.3
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#2B0637
secondary
#367721
accent
#F73161
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0637

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

Preview Lab → · Contrast checker → · Palette generator →

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