#2B1341#2B1341

#2B1341 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.085 H 305.0°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#2B1341
RGBrgb(43, 19, 65)
HSLhsl(271, 55%, 16%)
HSVhsv(271, 71%, 25%)
CMYKcmyk(33.8%, 70.8%, 0%, 74.5%)
CIE-LABlab(11.70, 22.75, -24.57)
CIE-LCHlch(11.70, 33.48, 312.80°)
OKLaboklab(24.86% 0.0487 -0.0695)
OKLCHoklch(24.86% 0.085 305)
XYZxyz(2.1831, 1.3610, 5.1477)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1341 #294113
analogous
#141341 #2B1341 #411340
triadic
#2B1341 #412B13 #13412B
tetradic
#2B1341 #411413 #294113 #134041
square
#2B1341 #411413 #294113 #134041
split-complementary
#2B1341 #404113 #134114
monochromatic
#100718 #100718 #2B1341 #4A2170 #6A2FA0

Accessibility & contrast

On white

16.51
#2B1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1341
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1341#FFFFFF#000000##FFFFFF
##2B13411.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#081F40
Tritanopia (blue-blind)
#271D27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b1341;
/* rgb */ color: rgb(43, 19, 65);
/* oklch */ color: oklch(24.9% 0.085 305.0);
Tailwind
colors: {
  custom: {
    50: '#665276',
    500: '#2b1341',
    950: '#000000',
  },
}
SCSS
$custom: #2b1341;
$custom-light: #665276;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1341",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 271.304,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24857,
    "c": 0.08491,
    "h": 305
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#2B1341
secondary
#567A36
accent
#DE4A91
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B1341

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

Preview Lab → · Contrast checker → · Palette generator →

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