#2B033B#2B033B

#2B033B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.102 H 313.7°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#2B033B
RGBrgb(43, 3, 59)
HSLhsl(283, 90%, 12%)
HSVhsv(283, 95%, 23%)
CMYKcmyk(27.1%, 94.9%, 0%, 76.9%)
CIE-LABlab(8.08, 29.93, -26.13)
CIE-LCHlch(8.08, 39.73, 318.87°)
OKLaboklab(22.13% 0.0707 -0.074)
OKLCHoklch(22.13% 0.102 313.7)
XYZxyz(1.8181, 0.8945, 4.2137)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B033B #133B03
analogous
#0F033B #2B033B #3B032F
triadic
#2B033B #3B2B03 #033B2B
tetradic
#2B033B #3B0F03 #133B03 #032F3B
square
#2B033B #3B0F03 #133B03 #032F3B
split-complementary
#2B033B #2F3B03 #033B0F
monochromatic
#15011D #15011D #2B033B #550675 #8009AF

Accessibility & contrast

On white

17.81
#2B033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B033B
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B033B#FFFFFF#000000##FFFFFF
##2B033B1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#29111F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b033b;
/* rgb */ color: rgb(43, 3, 59);
/* oklch */ color: oklch(22.1% 0.102 313.7);
Tailwind
colors: {
  custom: {
    50: '#674971',
    500: '#2b033b',
    950: '#000000',
  },
}
SCSS
$custom: #2b033b;
$custom-light: #674971;
$custom-dark: #000000;
JSON
{
  "hex": "#2b033b",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 282.857,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22126,
    "c": 0.10232,
    "h": 313.7
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#2B033B
secondary
#387E1C
accent
#FF2966
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B033B

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

Preview Lab → · Contrast checker → · Palette generator →

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