#2B0B38#2B0B38

#2B0B38 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.087 H 314.4°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#2B0B38
RGBrgb(43, 11, 56)
HSLhsl(283, 67%, 13%)
HSVhsv(283, 80%, 22%)
CMYKcmyk(23.2%, 80.4%, 0%, 78%)
CIE-LABlab(9.31, 24.91, -21.98)
CIE-LCHlch(9.31, 33.22, 318.58°)
OKLaboklab(22.91% 0.0607 -0.0619)
OKLCHoklch(22.91% 0.087 314.4)
XYZxyz(1.8296, 1.0385, 3.8447)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B38 #18380B
analogous
#140B38 #2B0B38 #380B2E
triadic
#2B0B38 #382B0B #0B382B
tetradic
#2B0B38 #38140B #18380B #0B2E38
square
#2B0B38 #38140B #18380B #0B2E38
split-complementary
#2B0B38 #2E380B #0B3814
monochromatic
#14051A #14051A #2B0B38 #52156B #7A1F9E

Accessibility & contrast

On white

17.39
#2B0B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0B38
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B38#FFFFFF#000000##FFFFFF
##2B0B381.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#091B37
Tritanopia (blue-blind)
#2A1420
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0b38;
/* rgb */ color: rgb(43, 11, 56);
/* oklch */ color: oklch(22.9% 0.087 314.4);
Tailwind
colors: {
  custom: {
    50: '#664d6f',
    500: '#2b0b38',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b38;
$custom-light: #664d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b38",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 282.667,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22911,
    "c": 0.08666,
    "h": 314.4
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#2B0B38
secondary
#40752A
accent
#EA3E70
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0B38

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

Preview Lab → · Contrast checker → · Palette generator →

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