#2B1048#2B1048

#2B1048 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.099 H 301.6°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2B1048
RGBrgb(43, 16, 72)
HSLhsl(269, 64%, 17%)
HSVhsv(269, 78%, 28%)
CMYKcmyk(40.3%, 77.8%, 0%, 71.8%)
CIE-LABlab(11.63, 26.57, -29.57)
CIE-LCHlch(11.63, 39.76, 311.94°)
OKLaboklab(25% 0.0518 -0.0842)
OKLCHoklch(25% 0.099 301.6)
XYZxyz(2.3510, 1.3520, 6.2667)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1048 #2D4810
analogous
#101148 #2B1048 #471048
triadic
#2B1048 #482B10 #10482B
tetradic
#2B1048 #481011 #2D4810 #104847
square
#2B1048 #481011 #2D4810 #104847
split-complementary
#2B1048 #484710 #114810
monochromatic
#0F0619 #0F0619 #2B1048 #491B7A #6726AC

Accessibility & contrast

On white

16.53
#2B1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2B1048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1048
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1048#FFFFFF#000000##FFFFFF
##2B10481.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#251D2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b1048;
/* rgb */ color: rgb(43, 16, 72);
/* oklch */ color: oklch(25.0% 0.099 301.6);
Tailwind
colors: {
  custom: {
    50: '#68517b',
    500: '#2b1048',
    950: '#000000',
  },
}
SCSS
$custom: #2b1048;
$custom-light: #68517b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1048",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 268.929,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24999,
    "c": 0.09891,
    "h": 301.6
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#2B1048
secondary
#5B8232
accent
#E74197
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B1048

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

Preview Lab → · Contrast checker → · Palette generator →

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