#2B0B39#2B0B39

#2B0B39 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.088 H 313.6°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2B0B39
RGBrgb(43, 11, 57)
HSLhsl(282, 68%, 13%)
HSVhsv(282, 81%, 22%)
CMYKcmyk(24.6%, 80.7%, 0%, 77.6%)
CIE-LABlab(9.39, 25.17, -22.57)
CIE-LCHlch(9.39, 33.81, 318.11°)
OKLaboklab(22.99% 0.0605 -0.0636)
OKLCHoklch(22.99% 0.088 313.6)
XYZxyz(1.8543, 1.0484, 3.9748)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B39 #19390B
analogous
#140B39 #2B0B39 #390B30
triadic
#2B0B39 #392B0B #0B392B
tetradic
#2B0B39 #39140B #19390B #0B3039
square
#2B0B39 #39140B #19390B #0B3039
split-complementary
#2B0B39 #30390B #0B3914
monochromatic
#13051A #13051A #2B0B39 #52156C #781FA0

Accessibility & contrast

On white

17.36
#2B0B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0B39
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B39#FFFFFF#000000##FFFFFF
##2B0B391.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#081B38
Tritanopia (blue-blind)
#2A1521
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0b39;
/* rgb */ color: rgb(43, 11, 57);
/* oklch */ color: oklch(23.0% 0.088 313.6);
Tailwind
colors: {
  custom: {
    50: '#664d70',
    500: '#2b0b39',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b39;
$custom-light: #664d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b39",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 281.739,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22993,
    "c": 0.08784,
    "h": 313.6
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#2B0B39
secondary
#41762A
accent
#EB3D72
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0B39

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

Preview Lab → · Contrast checker → · Palette generator →

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