#2B053B#2B053B

#2B053B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.099 H 313.2°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2B053B
RGBrgb(43, 5, 59)
HSLhsl(282, 84%, 13%)
HSVhsv(282, 92%, 23%)
CMYKcmyk(27.1%, 91.5%, 0%, 76.9%)
CIE-LABlab(8.46, 28.80, -25.51)
CIE-LCHlch(8.46, 38.47, 318.47°)
OKLaboklab(22.39% 0.0679 -0.0722)
OKLCHoklch(22.39% 0.099 313.2)
XYZxyz(1.8398, 0.9380, 4.2210)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B053B #153B05
analogous
#10053B #2B053B #3B0530
triadic
#2B053B #3B2B05 #053B2B
tetradic
#2B053B #3B1005 #153B05 #05303B
square
#2B053B #3B1005 #153B05 #05303B
split-complementary
#2B053B #303B05 #053B10
monochromatic
#15021C #15021C #2B053B #540A73 #7D0FAC

Accessibility & contrast

On white

17.68
#2B053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B053B
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B053B#FFFFFF#000000##FFFFFF
##2B053B1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#01193A
Tritanopia (blue-blind)
#291220
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b053b;
/* rgb */ color: rgb(43, 5, 59);
/* oklch */ color: oklch(22.4% 0.099 313.2);
Tailwind
colors: {
  custom: {
    50: '#674a71',
    500: '#2b053b',
    950: '#000000',
  },
}
SCSS
$custom: #2b053b;
$custom-light: #674a71;
$custom-dark: #000000;
JSON
{
  "hex": "#2b053b",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 282.222,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22393,
    "c": 0.09913,
    "h": 313.2
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#2B053B
secondary
#3B7C20
accent
#FB2D6A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B053B

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

Preview Lab → · Contrast checker → · Palette generator →

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