#2B0B41#2B0B41

#2B0B41 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.097 H 307.5°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#2B0B41
RGBrgb(43, 11, 65)
HSLhsl(276, 71%, 15%)
HSVhsv(276, 83%, 25%)
CMYKcmyk(33.8%, 83.1%, 0%, 74.5%)
CIE-LABlab(10.07, 27.28, -27.20)
CIE-LCHlch(10.07, 38.52, 315.08°)
OKLaboklab(23.69% 0.0592 -0.0772)
OKLCHoklch(23.69% 0.097 307.5)
XYZxyz(2.0699, 1.1346, 5.1100)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B41 #21410B
analogous
#100B41 #2B0B41 #410B3C
triadic
#2B0B41 #412B0B #0B412B
tetradic
#2B0B41 #41100B #21410B #0B3C41
square
#2B0B41 #41100B #21410B #0B3C41
split-complementary
#2B0B41 #3C410B #0B4110
monochromatic
#11041A #11041A #2B0B41 #4E1475 #701DAA

Accessibility & contrast

On white

17.11
#2B0B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0B41
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B41#FFFFFF#000000##FFFFFF
##2B0B411.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#271825
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0b41;
/* rgb */ color: rgb(43, 11, 65);
/* oklch */ color: oklch(23.7% 0.097 307.5);
Tailwind
colors: {
  custom: {
    50: '#674d76',
    500: '#2b0b41',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b41;
$custom-light: #674d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b41",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 275.556,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2369,
    "c": 0.09731,
    "h": 307.5
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#2B0B41
secondary
#4C7E2A
accent
#EE3A83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B0B41

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

Preview Lab → · Contrast checker → · Palette generator →

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