#2B0328#2B0328

#2B0328 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.084 H 331.4°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#2B0328
RGBrgb(43, 3, 40)
HSLhsl(305, 87%, 9%)
HSVhsv(305, 93%, 17%)
CMYKcmyk(0%, 93%, 7%, 83.1%)
CIE-LABlab(6.61, 25.44, -14.43)
CIE-LCHlch(6.61, 29.25, 330.45°)
OKLaboklab(20.54% 0.0739 -0.0402)
OKLCHoklch(20.54% 0.084 331.4)
XYZxyz(1.4118, 0.7320, 2.0740)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0328 #032B06
analogous
#1A032B #2B0328 #2B0314
triadic
#2B0328 #282B03 #03282B
tetradic
#2B0328 #2B1A03 #032B06 #03142B
square
#2B0328 #2B1A03 #032B06 #03142B
split-complementary
#2B0328 #142B03 #032B1A
monochromatic
#1D021B #1D021B #2B0328 #64075D #9D0B92

Accessibility & contrast

On white

18.32
#2B0328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2B0328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0328
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0328#FFFFFF#000000##FFFFFF
##2B03281.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011129
Deuteranopia (green-blind)
#0F1727
Tritanopia (blue-blind)
#2D0714
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0328;
/* rgb */ color: rgb(43, 3, 40);
/* oklch */ color: oklch(20.5% 0.084 331.4);
Tailwind
colors: {
  custom: {
    50: '#664862',
    500: '#2b0328',
    950: '#000000',
  },
}
SCSS
$custom: #2b0328;
$custom-light: #664862;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0328",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 304.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20538,
    "c": 0.08409,
    "h": 331.4
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#2B0328
secondary
#1B6F21
accent
#FD3A2B
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2B0328

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

Preview Lab → · Contrast checker → · Palette generator →

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