#2B1346#2B1346

#2B1346 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.092 H 301.8°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#2B1346
RGBrgb(43, 19, 70)
HSLhsl(268, 57%, 17%)
HSVhsv(268, 73%, 27%)
CMYKcmyk(38.6%, 72.9%, 0%, 72.5%)
CIE-LABlab(12.10, 24.22, -27.42)
CIE-LCHlch(12.10, 36.59, 311.45°)
OKLaboklab(25.28% 0.0483 -0.0779)
OKLCHoklch(25.28% 0.092 301.8)
XYZxyz(2.3344, 1.4215, 5.9446)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1346 #2E4613
analogous
#131546 #2B1346 #441346
triadic
#2B1346 #462B13 #13462B
tetradic
#2B1346 #461315 #2E4613 #134644
square
#2B1346 #461315 #2E4613 #134644
split-complementary
#2B1346 #464413 #154613
monochromatic
#0F0718 #0F0718 #2B1346 #492076 #662DA6

Accessibility & contrast

On white

16.35
#2B1346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1346
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1346#FFFFFF#000000##FFFFFF
##2B13461.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#021F45
Tritanopia (blue-blind)
#251E2A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2b1346;
/* rgb */ color: rgb(43, 19, 70);
/* oklch */ color: oklch(25.3% 0.092 301.8);
Tailwind
colors: {
  custom: {
    50: '#67527a',
    500: '#2b1346',
    950: '#000000',
  },
}
SCSS
$custom: #2b1346;
$custom-light: #67527a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1346",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 268.235,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25278,
    "c": 0.09169,
    "h": 301.8
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#2B1346
secondary
#5D7F36
accent
#E14798
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B1346

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

Preview Lab → · Contrast checker → · Palette generator →

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