#2B1141#2B1141

#2B1141 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.088 H 305.7°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#2B1141
RGBrgb(43, 17, 65)
HSLhsl(273, 59%, 16%)
HSVhsv(273, 74%, 25%)
CMYKcmyk(33.8%, 73.8%, 0%, 74.5%)
CIE-LABlab(11.25, 23.97, -25.29)
CIE-LCHlch(11.25, 34.84, 313.47°)
OKLaboklab(24.53% 0.0516 -0.0716)
OKLCHoklch(24.53% 0.088 305.7)
XYZxyz(2.1506, 1.2962, 5.1369)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1141 #274111
analogous
#131141 #2B1141 #41113F
triadic
#2B1141 #412B11 #11412B
tetradic
#2B1141 #411311 #274111 #113F41
square
#2B1141 #411311 #274111 #113F41
split-complementary
#2B1141 #3F4111 #114113
monochromatic
#100618 #100618 #2B1141 #4B1E72 #6B2AA2

Accessibility & contrast

On white

16.68
#2B1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2B1141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1141
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1141#FFFFFF#000000##FFFFFF
##2B11411.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#051E40
Tritanopia (blue-blind)
#271B27
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b1141;
/* rgb */ color: rgb(43, 17, 65);
/* oklch */ color: oklch(24.5% 0.088 305.7);
Tailwind
colors: {
  custom: {
    50: '#675176',
    500: '#2b1141',
    950: '#000000',
  },
}
SCSS
$custom: #2b1141;
$custom-light: #675176;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1141",
  "rgb": {
    "r": 43,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 272.5,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24534,
    "c": 0.08827,
    "h": 305.7
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#2B1141
secondary
#547B33
accent
#E2468D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B1141

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

Preview Lab → · Contrast checker → · Palette generator →

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