#2B032E#2B032E

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

Color values

HEX#2B032E
RGBrgb(43, 3, 46)
HSLhsl(296, 88%, 10%)
HSVhsv(296, 93%, 18%)
CMYKcmyk(6.5%, 93.5%, 0%, 82%)
CIE-LABlab(7.01, 26.84, -18.31)
CIE-LCHlch(7.01, 32.49, 325.69°)
OKLaboklab(20.99% 0.0735 -0.0513)
OKLCHoklch(20.99% 0.09 325.1)
XYZxyz(1.5219, 0.7761, 2.6539)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B032E #062E03
analogous
#16032E #2B032E #2E031C
triadic
#2B032E #2E2B03 #032E2B
tetradic
#2B032E #2E1603 #062E03 #031C2E
square
#2B032E #2E1603 #062E03 #031C2E
split-complementary
#2B032E #1C2E03 #032E16
monochromatic
#1B021D #1B021D #2B032E #610767 #960AA1

Accessibility & contrast

On white

18.18
#2B032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B032E
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B032E#FFFFFF#000000##FFFFFF
##2B032E1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#0B172D
Tritanopia (blue-blind)
#2C0A18
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b032e;
/* rgb */ color: rgb(43, 3, 46);
/* oklch */ color: oklch(21.0% 0.090 325.1);
Tailwind
colors: {
  custom: {
    50: '#664867',
    500: '#2b032e',
    950: '#000000',
  },
}
SCSS
$custom: #2b032e;
$custom-light: #664867;
$custom-dark: #000000;
JSON
{
  "hex": "#2b032e",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 295.814,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20994,
    "c": 0.08964,
    "h": 325.1
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#2B032E
secondary
#21721B
accent
#FE2A39
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B032E

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

Preview Lab → · Contrast checker → · Palette generator →

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