#2B0A36#2B0A36

#2B0A36 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.086 H 316.4°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#2B0A36
RGBrgb(43, 10, 54)
HSLhsl(285, 69%, 13%)
HSVhsv(285, 81%, 21%)
CMYKcmyk(20.4%, 81.5%, 0%, 78.8%)
CIE-LABlab(8.97, 24.93, -21.08)
CIE-LCHlch(8.97, 32.64, 319.79°)
OKLaboklab(22.62% 0.0622 -0.0592)
OKLCHoklch(22.62% 0.086 316.4)
XYZxyz(1.7706, 0.9971, 3.5885)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A36 #15360A
analogous
#150A36 #2B0A36 #360A2B
triadic
#2B0A36 #362B0A #0A362B
tetradic
#2B0A36 #36150A #15360A #0A2B36
square
#2B0A36 #36150A #15360A #0A2B36
split-complementary
#2B0A36 #2B360A #0A3615
monochromatic
#15051A #15051A #2B0A36 #54146A #7D1D9D

Accessibility & contrast

On white

17.51
#2B0A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B0A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0A36
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A36#FFFFFF#000000##FFFFFF
##2B0A361.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0A1A35
Tritanopia (blue-blind)
#2A131F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0a36;
/* rgb */ color: rgb(43, 10, 54);
/* oklch */ color: oklch(22.6% 0.086 316.4);
Tailwind
colors: {
  custom: {
    50: '#664c6d',
    500: '#2b0a36',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a36;
$custom-light: #664c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a36",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 285,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22616,
    "c": 0.08587,
    "h": 316.4
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#2B0A36
secondary
#3B7328
accent
#EC3C68
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0A36

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

Preview Lab → · Contrast checker → · Palette generator →

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