#2B0327#2B0327

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

Color values

HEX#2B0327
RGBrgb(43, 3, 39)
HSLhsl(306, 87%, 9%)
HSVhsv(306, 93%, 17%)
CMYKcmyk(0%, 93%, 9.3%, 83.1%)
CIE-LABlab(6.55, 25.21, -13.76)
CIE-LCHlch(6.55, 28.72, 331.38°)
OKLaboklab(20.47% 0.0738 -0.0383)
OKLCHoklch(20.47% 0.083 332.6)
XYZxyz(1.3950, 0.7253, 1.9856)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0327 #032B07
analogous
#1B032B #2B0327 #2B0313
triadic
#2B0327 #272B03 #03272B
tetradic
#2B0327 #2B1B03 #032B07 #03132B
square
#2B0327 #2B1B03 #032B07 #03132B
split-complementary
#2B0327 #132B03 #032B1B
monochromatic
#1D021A #1D021A #2B0327 #64075B #9D0B8F

Accessibility & contrast

On white

18.34
#2B0327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0327
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0327#FFFFFF#000000##FFFFFF
##2B03271.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021128
Deuteranopia (green-blind)
#101726
Tritanopia (blue-blind)
#2D0614
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0327;
/* rgb */ color: rgb(43, 3, 39);
/* oklch */ color: oklch(20.5% 0.083 332.6);
Tailwind
colors: {
  custom: {
    50: '#664861',
    500: '#2b0327',
    950: '#000000',
  },
}
SCSS
$custom: #2b0327;
$custom-light: #664861;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0327",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 39
  },
  "hsl": {
    "h": 306,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20466,
    "c": 0.0832,
    "h": 332.6
  },
  "luminance": 0.00725
}

Semantic roles & 50–950 ramp

primary
#2B0327
secondary
#1B6F23
accent
#FD402B
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060005
muted
#7A7779

Preview Lab

Preview with #2B0327

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

Preview Lab → · Contrast checker → · Palette generator →

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