#2B133B#2B133B

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

Color values

HEX#2B133B
RGBrgb(43, 19, 59)
HSLhsl(276, 51%, 15%)
HSVhsv(276, 68%, 23%)
CMYKcmyk(27.1%, 67.8%, 0%, 76.9%)
CIE-LABlab(11.24, 21.04, -21.04)
CIE-LCHlch(11.24, 29.75, 315.01°)
OKLaboklab(24.38% 0.0489 -0.0592)
OKLCHoklch(24.38% 0.077 309.5)
XYZxyz(2.0184, 1.2951, 4.2805)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B133B #233B13
analogous
#17133B #2B133B #3B1337
triadic
#2B133B #3B2B13 #133B2B
tetradic
#2B133B #3B1713 #233B13 #13373B
square
#2B133B #3B1713 #233B13 #13373B
split-complementary
#2B133B #373B13 #133B17
monochromatic
#110717 #110717 #2B133B #4D2269 #6E3198

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B133B#FFFFFF#000000##FFFFFF
##2B133B1.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)
#051D3C
Deuteranopia (green-blind)
#0E1E3A
Tritanopia (blue-blind)
#291A24
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b133b;
/* rgb */ color: rgb(43, 19, 59);
/* oklch */ color: oklch(24.4% 0.077 309.5);
Tailwind
colors: {
  custom: {
    50: '#665271',
    500: '#2b133b',
    950: '#000000',
  },
}
SCSS
$custom: #2b133b;
$custom-light: #665271;
$custom-dark: #000000;
JSON
{
  "hex": "#2b133b",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 276,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24381,
    "c": 0.07675,
    "h": 309.5
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#2B133B
secondary
#4F7336
accent
#DB4D86
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B133B

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

Preview Lab → · Contrast checker → · Palette generator →

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