#2B0628#2B0628

#2B0628 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.078 H 331.4°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#2B0628
RGBrgb(43, 6, 40)
HSLhsl(305, 76%, 10%)
HSVhsv(305, 86%, 17%)
CMYKcmyk(0%, 86%, 7%, 83.1%)
CIE-LABlab(7.20, 23.84, -13.50)
CIE-LCHlch(7.20, 27.40, 330.47°)
OKLaboklab(21% 0.0685 -0.0373)
OKLCHoklch(21% 0.078 331.4)
XYZxyz(1.4444, 0.7972, 2.0849)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0628 #062B09
analogous
#1C062B #2B0628 #2B0616
triadic
#2B0628 #282B06 #06282B
tetradic
#2B0628 #2B1C06 #062B09 #06162B
square
#2B0628 #2B1C06 #062B09 #06162B
split-complementary
#2B0628 #162B06 #062B1C
monochromatic
#1B0419 #1B0419 #2B0628 #610D5A #96158C

Accessibility & contrast

On white

18.11
#2B0628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B0628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0628
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0628#FFFFFF#000000##FFFFFF
##2B06281.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041329
Deuteranopia (green-blind)
#111827
Tritanopia (blue-blind)
#2D0A16
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0628;
/* rgb */ color: rgb(43, 6, 40);
/* oklch */ color: oklch(21.0% 0.078 331.4);
Tailwind
colors: {
  custom: {
    50: '#664962',
    500: '#2b0628',
    950: '#000000',
  },
}
SCSS
$custom: #2b0628;
$custom-light: #664962;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0628",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 304.865,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21002,
    "c": 0.07796,
    "h": 331.4
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#2B0628
secondary
#216C27
accent
#F24536
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0628

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

Preview Lab → · Contrast checker → · Palette generator →

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