#2B1144#2B1144

#2B1144 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.092 H 303.7°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#2B1144
RGBrgb(43, 17, 68)
HSLhsl(271, 60%, 17%)
HSVhsv(271, 75%, 27%)
CMYKcmyk(36.8%, 75%, 0%, 73.3%)
CIE-LABlab(11.50, 24.83, -27.00)
CIE-LCHlch(11.50, 36.68, 312.61°)
OKLaboklab(24.79% 0.0512 -0.0767)
OKLCHoklch(24.79% 0.092 303.7)
XYZxyz(2.2399, 1.3318, 5.6068)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1144 #2A4411
analogous
#121144 #2B1144 #441144
triadic
#2B1144 #442B11 #11442B
tetradic
#2B1144 #441211 #2A4411 #114444
square
#2B1144 #441211 #2A4411 #114444
split-complementary
#2B1144 #444411 #114412
monochromatic
#0F0618 #0F0618 #2B1144 #4A1D75 #6929A6

Accessibility & contrast

On white

16.58
#2B1144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1144
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1144#FFFFFF#000000##FFFFFF
##2B11441.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#021E43
Tritanopia (blue-blind)
#261C28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b1144;
/* rgb */ color: rgb(43, 17, 68);
/* oklch */ color: oklch(24.8% 0.092 303.7);
Tailwind
colors: {
  custom: {
    50: '#675178',
    500: '#2b1144',
    950: '#000000',
  },
}
SCSS
$custom: #2b1144;
$custom-light: #675178;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1144",
  "rgb": {
    "r": 43,
    "g": 17,
    "b": 68
  },
  "hsl": {
    "h": 270.588,
    "s": 60,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24791,
    "c": 0.09221,
    "h": 303.7
  },
  "luminance": 0.01332
}

Semantic roles & 50–950 ramp

primary
#2B1144
secondary
#587E33
accent
#E34592
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B1144

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

Preview Lab → · Contrast checker → · Palette generator →

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