#2B1130#2B1130

#2B1130 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.066 H 321.0°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2B1130
RGBrgb(43, 17, 48)
HSLhsl(290, 48%, 13%)
HSVhsv(290, 65%, 19%)
CMYKcmyk(10.4%, 64.6%, 0%, 81.2%)
CIE-LABlab(10.02, 19.39, -15.03)
CIE-LCHlch(10.02, 24.53, 322.23°)
OKLaboklab(23.24% 0.0514 -0.0417)
OKLCHoklch(23.24% 0.066 321)
XYZxyz(1.7301, 1.1280, 2.9223)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1130 #163011
analogous
#1C1130 #2B1130 #301125
triadic
#2B1130 #302B11 #11302B
tetradic
#2B1130 #301C11 #163011 #112530
square
#2B1130 #301C11 #163011 #112530
split-complementary
#2B1130 #253011 #11301C
monochromatic
#140817 #140817 #2B1130 #53215D #7C318A

Accessibility & contrast

On white

17.13
#2B1130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2B1130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1130
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1130#FFFFFF#000000##FFFFFF
##2B11301.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A31
Deuteranopia (green-blind)
#141C2F
Tritanopia (blue-blind)
#2B151E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b1130;
/* rgb */ color: rgb(43, 17, 48);
/* oklch */ color: oklch(23.2% 0.066 321.0);
Tailwind
colors: {
  custom: {
    50: '#655068',
    500: '#2b1130',
    950: '#000000',
  },
}
SCSS
$custom: #2b1130;
$custom-light: #655068;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1130",
  "rgb": {
    "r": 43,
    "g": 17,
    "b": 48
  },
  "hsl": {
    "h": 290.323,
    "s": 47.692,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2324,
    "c": 0.06614,
    "h": 321
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#2B1130
secondary
#3D6934
accent
#D75166
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B1130

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

Preview Lab → · Contrast checker → · Palette generator →

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