#2B0A39#2B0A39

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

Color values

HEX#2B0A39
RGBrgb(43, 10, 57)
HSLhsl(282, 70%, 13%)
HSVhsv(282, 82%, 22%)
CMYKcmyk(24.6%, 82.5%, 0%, 77.6%)
CIE-LABlab(9.21, 25.68, -22.87)
CIE-LCHlch(9.21, 34.39, 318.32°)
OKLaboklab(22.86% 0.0618 -0.0645)
OKLCHoklch(22.86% 0.089 313.8)
XYZxyz(1.8432, 1.0261, 3.9711)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A39 #18390A
analogous
#130A39 #2B0A39 #390A2F
triadic
#2B0A39 #392B0A #0A392B
tetradic
#2B0A39 #39130A #18390A #0A2F39
square
#2B0A39 #39130A #18390A #0A2F39
split-complementary
#2B0A39 #2F390A #0A3913
monochromatic
#14051A #14051A #2B0A39 #52136D #7A1CA1

Accessibility & contrast

On white

17.42
#2B0A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A39
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A39#FFFFFF#000000##FFFFFF
##2B0A391.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#071B38
Tritanopia (blue-blind)
#2A1420
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0a39;
/* rgb */ color: rgb(43, 10, 57);
/* oklch */ color: oklch(22.9% 0.089 313.8);
Tailwind
colors: {
  custom: {
    50: '#664c70',
    500: '#2b0a39',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a39;
$custom-light: #664c70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a39",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 57
  },
  "hsl": {
    "h": 282.128,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22864,
    "c": 0.08933,
    "h": 313.8
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#2B0A39
secondary
#407628
accent
#ED3B70
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0A39

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

Preview Lab → · Contrast checker → · Palette generator →

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