#2B0428#2B0428

#2B0428 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.082 H 331.4°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#2B0428
RGBrgb(43, 4, 40)
HSLhsl(305, 83%, 9%)
HSVhsv(305, 91%, 17%)
CMYKcmyk(0%, 90.7%, 7%, 83.1%)
CIE-LABlab(6.81, 24.91, -14.12)
CIE-LCHlch(6.81, 28.64, 330.46°)
OKLaboklab(20.7% 0.072 -0.0392)
OKLCHoklch(20.7% 0.082 331.4)
XYZxyz(1.4227, 0.7537, 2.0776)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0428 #042B07
analogous
#1B042B #2B0428 #2B0415
triadic
#2B0428 #282B04 #04282B
tetradic
#2B0428 #2B1B04 #042B07 #04152B
square
#2B0428 #2B1B04 #042B07 #04152B
split-complementary
#2B0428 #152B04 #042B1B
monochromatic
#1C031A #1C031A #2B0428 #63095C #9B0E90

Accessibility & contrast

On white

18.25
#2B0428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0428
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0428#FFFFFF#000000##FFFFFF
##2B04281.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021229
Deuteranopia (green-blind)
#101727
Tritanopia (blue-blind)
#2D0815
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0428;
/* rgb */ color: rgb(43, 4, 40);
/* oklch */ color: oklch(20.7% 0.082 331.4);
Tailwind
colors: {
  custom: {
    50: '#664862',
    500: '#2b0428',
    950: '#000000',
  },
}
SCSS
$custom: #2b0428;
$custom-light: #664862;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0428",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 304.615,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20695,
    "c": 0.082,
    "h": 331.4
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#2B0428
secondary
#1D6E23
accent
#F93E2E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0428

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

Preview Lab → · Contrast checker → · Palette generator →

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