#2B043A#2B043A

#2B043A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.100 H 314.2°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#2B043A
RGBrgb(43, 4, 58)
HSLhsl(283, 87%, 12%)
HSVhsv(283, 93%, 23%)
CMYKcmyk(25.9%, 93.1%, 0%, 77.3%)
CIE-LABlab(8.18, 29.12, -25.24)
CIE-LCHlch(8.18, 38.54, 319.08°)
OKLaboklab(22.17% 0.0696 -0.0714)
OKLCHoklch(22.17% 0.1 314.2)
XYZxyz(1.8033, 0.9060, 4.0820)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B043A #133A04
analogous
#10043A #2B043A #3A042E
triadic
#2B043A #3A2B04 #043A2B
tetradic
#2B043A #3A1004 #133A04 #042E3A
square
#2B043A #3A1004 #133A04 #042E3A
split-complementary
#2B043A #2E3A04 #043A10
monochromatic
#15021D #15021D #2B043A #550873 #800CAD

Accessibility & contrast

On white

17.78
#2B043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2B043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B043A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B043A#FFFFFF#000000##FFFFFF
##2B043A1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#011939
Tritanopia (blue-blind)
#2A111F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b043a;
/* rgb */ color: rgb(43, 4, 58);
/* oklch */ color: oklch(22.2% 0.100 314.2);
Tailwind
colors: {
  custom: {
    50: '#674970',
    500: '#2b043a',
    950: '#000000',
  },
}
SCSS
$custom: #2b043a;
$custom-light: #674970;
$custom-dark: #000000;
JSON
{
  "hex": "#2b043a",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 283.333,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22169,
    "c": 0.09968,
    "h": 314.2
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#2B043A
secondary
#387C1E
accent
#FD2B65
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B043A

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

Preview Lab → · Contrast checker → · Palette generator →

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