#2B0928#2B0928

#2B0928 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.4% C 0.072 H 331.4°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#2B0928
RGBrgb(43, 9, 40)
HSLhsl(305, 65%, 10%)
HSVhsv(305, 79%, 17%)
CMYKcmyk(0%, 79.1%, 7%, 83.1%)
CIE-LABlab(7.79, 22.23, -12.58)
CIE-LCHlch(7.79, 25.54, 330.49°)
OKLaboklab(21.45% 0.0635 -0.0345)
OKLCHoklch(21.45% 0.072 331.4)
XYZxyz(1.4769, 0.8623, 2.0957)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0928 #092B0C
analogous
#1D092B #2B0928 #2B0917
triadic
#2B0928 #282B09 #09282B
tetradic
#2B0928 #2B1D09 #092B0C #09172B
square
#2B0928 #2B1D09 #092B0C #09172B
split-complementary
#2B0928 #172B09 #092B1D
monochromatic
#190518 #190518 #2B0928 #5E1457 #901E86

Accessibility & contrast

On white

17.91
#2B0928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2B0928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0928
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0928#FFFFFF#000000##FFFFFF
##2B09281.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071429
Deuteranopia (green-blind)
#131927
Tritanopia (blue-blind)
#2D0C17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0928;
/* rgb */ color: rgb(43, 9, 40);
/* oklch */ color: oklch(21.4% 0.072 331.4);
Tailwind
colors: {
  custom: {
    50: '#664b62',
    500: '#2b0928',
    950: '#000000',
  },
}
SCSS
$custom: #2b0928;
$custom-light: #664b62;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0928",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 40
  },
  "hsl": {
    "h": 305.294,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21447,
    "c": 0.07227,
    "h": 331.4
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#2B0928
secondary
#27692D
accent
#E84E3F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0928

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

Preview Lab → · Contrast checker → · Palette generator →

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