#2B0B43#2B0B43

#2B0B43 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.100 H 306.1°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2B0B43
RGBrgb(43, 11, 67)
HSLhsl(274, 72%, 15%)
HSVhsv(274, 84%, 26%)
CMYKcmyk(35.8%, 83.6%, 0%, 73.7%)
CIE-LABlab(10.25, 27.81, -28.32)
CIE-LCHlch(10.25, 39.70, 314.48°)
OKLaboklab(23.87% 0.0588 -0.0805)
OKLCHoklch(23.87% 0.1 306.1)
XYZxyz(2.1288, 1.1582, 5.4205)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B43 #23430B
analogous
#0F0B43 #2B0B43 #430B3F
triadic
#2B0B43 #432B0B #0B432B
tetradic
#2B0B43 #430F0B #23430B #0B3F43
square
#2B0B43 #430F0B #23430B #0B3F43
split-complementary
#2B0B43 #3F430B #0B430F
monochromatic
#11041A #11041A #2B0B43 #4D1478 #6E1CAC

Accessibility & contrast

On white

17.05
#2B0B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0B43
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B43#FFFFFF#000000##FFFFFF
##2B0B431.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#001C42
Tritanopia (blue-blind)
#271926
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0b43;
/* rgb */ color: rgb(43, 11, 67);
/* oklch */ color: oklch(23.9% 0.100 306.1);
Tailwind
colors: {
  custom: {
    50: '#674e78',
    500: '#2b0b43',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b43;
$custom-light: #674e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b43",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 274.286,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23873,
    "c": 0.09968,
    "h": 306.1
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#2B0B43
secondary
#4F802A
accent
#EF3987
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0B43

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

Preview Lab → · Contrast checker → · Palette generator →

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