#2B1441#2B1441

#2B1441 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.083 H 304.6°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#2B1441
RGBrgb(43, 20, 65)
HSLhsl(271, 53%, 17%)
HSVhsv(271, 69%, 25%)
CMYKcmyk(33.8%, 69.2%, 0%, 74.5%)
CIE-LABlab(11.93, 22.12, -24.19)
CIE-LCHlch(11.93, 32.78, 312.44°)
OKLaboklab(25.03% 0.0473 -0.0684)
OKLCHoklch(25.03% 0.083 304.6)
XYZxyz(2.2003, 1.3956, 5.1535)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1441 #2A4114
analogous
#151441 #2B1441 #411441
triadic
#2B1441 #412B14 #14412B
tetradic
#2B1441 #411514 #2A4114 #144141
square
#2B1441 #411514 #2A4114 #144141
split-complementary
#2B1441 #414114 #144115
monochromatic
#0F0717 #0F0717 #2B1441 #4A2270 #69319F

Accessibility & contrast

On white

16.42
#2B1441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2B1441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1441
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1441#FFFFFF#000000##FFFFFF
##2B14411.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F42
Deuteranopia (green-blind)
#091F40
Tritanopia (blue-blind)
#271D28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b1441;
/* rgb */ color: rgb(43, 20, 65);
/* oklch */ color: oklch(25.0% 0.083 304.6);
Tailwind
colors: {
  custom: {
    50: '#665376',
    500: '#2b1441',
    950: '#000000',
  },
}
SCSS
$custom: #2b1441;
$custom-light: #665376;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1441",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 65
  },
  "hsl": {
    "h": 270.667,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25026,
    "c": 0.08318,
    "h": 304.6
  },
  "luminance": 0.01396
}

Semantic roles & 50–950 ramp

primary
#2B1441
secondary
#587938
accent
#DC4B92
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B1441

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

Preview Lab → · Contrast checker → · Palette generator →

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