#2B032F#2B032F

#2B032F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.091 H 324.1°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#2B032F
RGBrgb(43, 3, 47)
HSLhsl(295, 88%, 10%)
HSVhsv(295, 94%, 18%)
CMYKcmyk(8.5%, 93.6%, 0%, 81.6%)
CIE-LABlab(7.08, 27.08, -18.95)
CIE-LCHlch(7.08, 33.05, 325.02°)
OKLaboklab(21.08% 0.0734 -0.0531)
OKLCHoklch(21.08% 0.091 324.1)
XYZxyz(1.5419, 0.7841, 2.7589)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B032F #072F03
analogous
#15032F #2B032F #2F031D
triadic
#2B032F #2F2B03 #032F2B
tetradic
#2B032F #2F1503 #072F03 #031D2F
square
#2B032F #2F1503 #072F03 #031D2F
split-complementary
#2B032F #1D2F03 #032F15
monochromatic
#1A021D #1A021D #2B032F #600769 #940AA2

Accessibility & contrast

On white

18.15
#2B032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B032F
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B032F#FFFFFF#000000##FFFFFF
##2B032F1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#0A172E
Tritanopia (blue-blind)
#2C0A18
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b032f;
/* rgb */ color: rgb(43, 3, 47);
/* oklch */ color: oklch(21.1% 0.091 324.1);
Tailwind
colors: {
  custom: {
    50: '#664868',
    500: '#2b032f',
    950: '#000000',
  },
}
SCSS
$custom: #2b032f;
$custom-light: #664868;
$custom-dark: #000000;
JSON
{
  "hex": "#2b032f",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 294.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21075,
    "c": 0.09058,
    "h": 324.1
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#2B032F
secondary
#23731B
accent
#FE2A3D
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B032F

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

Preview Lab → · Contrast checker → · Palette generator →

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