#2B0B44#2B0B44

#2B0B44 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.101 H 305.5°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#2B0B44
RGBrgb(43, 11, 68)
HSLhsl(274, 72%, 15%)
HSVhsv(274, 84%, 27%)
CMYKcmyk(36.8%, 83.8%, 0%, 73.3%)
CIE-LABlab(10.34, 28.09, -28.88)
CIE-LCHlch(10.34, 40.29, 314.20°)
OKLaboklab(23.97% 0.0585 -0.0822)
OKLCHoklch(23.97% 0.101 305.5)
XYZxyz(2.1591, 1.1703, 5.5799)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B44 #24440B
analogous
#0E0B44 #2B0B44 #440B40
triadic
#2B0B44 #442B0B #0B442B
tetradic
#2B0B44 #440E0B #24440B #0B4044
square
#2B0B44 #440E0B #24440B #0B4044
split-complementary
#2B0B44 #40440B #0B440E
monochromatic
#11041A #11041A #2B0B44 #4C1479 #6E1CAD

Accessibility & contrast

On white

17.02
#2B0B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0B44
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B44#FFFFFF#000000##FFFFFF
##2B0B441.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#261927
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0b44;
/* rgb */ color: rgb(43, 11, 68);
/* oklch */ color: oklch(24.0% 0.101 305.5);
Tailwind
colors: {
  custom: {
    50: '#684e78',
    500: '#2b0b44',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b44;
$custom-light: #684e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b44",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 273.684,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23966,
    "c": 0.10087,
    "h": 305.5
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#2B0B44
secondary
#50812A
accent
#EF3989
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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