#2B033A#2B033A

#2B033A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.101 H 314.4°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#2B033A
RGBrgb(43, 3, 58)
HSLhsl(284, 90%, 12%)
HSVhsv(284, 95%, 23%)
CMYKcmyk(25.9%, 94.8%, 0%, 77.3%)
CIE-LABlab(7.99, 29.69, -25.56)
CIE-LCHlch(7.99, 39.18, 319.28°)
OKLaboklab(22.03% 0.071 -0.0723)
OKLCHoklch(22.03% 0.101 314.4)
XYZxyz(1.7924, 0.8843, 4.0784)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B033A #123A03
analogous
#0F033A #2B033A #3A032E
triadic
#2B033A #3A2B03 #033A2B
tetradic
#2B033A #3A0F03 #123A03 #032E3A
square
#2B033A #3A0F03 #123A03 #032E3A
split-complementary
#2B033A #2E3A03 #033A0F
monochromatic
#16021D #16021D #2B033A #560674 #8109AE

Accessibility & contrast

On white

17.85
#2B033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B033A
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B033A#FFFFFF#000000##FFFFFF
##2B033A1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#2A101F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b033a;
/* rgb */ color: rgb(43, 3, 58);
/* oklch */ color: oklch(22.0% 0.101 314.4);
Tailwind
colors: {
  custom: {
    50: '#674971',
    500: '#2b033a',
    950: '#000000',
  },
}
SCSS
$custom: #2b033a;
$custom-light: #674971;
$custom-dark: #000000;
JSON
{
  "hex": "#2b033a",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 283.636,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22033,
    "c": 0.10132,
    "h": 314.4
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#2B033A
secondary
#367D1C
accent
#FF2963
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B033A

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

Preview Lab → · Contrast checker → · Palette generator →

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