#2B053A#2B053A

#2B053A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.098 H 314.0°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#2B053A
RGBrgb(43, 5, 58)
HSLhsl(283, 84%, 12%)
HSVhsv(283, 91%, 23%)
CMYKcmyk(25.9%, 91.4%, 0%, 77.3%)
CIE-LABlab(8.37, 28.56, -24.93)
CIE-LCHlch(8.37, 37.91, 318.88°)
OKLaboklab(22.3% 0.0682 -0.0705)
OKLCHoklch(22.3% 0.098 314)
XYZxyz(1.8141, 0.9277, 4.0857)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B053A #143A05
analogous
#11053A #2B053A #3A052F
triadic
#2B053A #3A2B05 #053A2B
tetradic
#2B053A #3A1105 #143A05 #052F3A
square
#2B053A #3A1105 #143A05 #052F3A
split-complementary
#2B053A #2F3A05 #053A11
monochromatic
#15021C #15021C #2B053A #550A72 #7F0FAB

Accessibility & contrast

On white

17.71
#2B053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B053A
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B053A#FFFFFF#000000##FFFFFF
##2B053A1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#021939
Tritanopia (blue-blind)
#29111F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b053a;
/* rgb */ color: rgb(43, 5, 58);
/* oklch */ color: oklch(22.3% 0.098 314.0);
Tailwind
colors: {
  custom: {
    50: '#674a70',
    500: '#2b053a',
    950: '#000000',
  },
}
SCSS
$custom: #2b053a;
$custom-light: #674a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b053a",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 283.019,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22303,
    "c": 0.09808,
    "h": 314
  },
  "luminance": 0.00928
}

Semantic roles & 50–950 ramp

primary
#2B053A
secondary
#3A7B20
accent
#FA2D67
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B053A

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

Preview Lab → · Contrast checker → · Palette generator →

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