#2B0A35#2B0A35

#2B0A35 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.085 H 317.3°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#2B0A35
RGBrgb(43, 10, 53)
HSLhsl(286, 68%, 12%)
HSVhsv(286, 81%, 21%)
CMYKcmyk(18.9%, 81.1%, 0%, 79.2%)
CIE-LABlab(8.89, 24.68, -20.47)
CIE-LCHlch(8.89, 32.07, 320.32°)
OKLaboklab(22.54% 0.0623 -0.0575)
OKLCHoklch(22.54% 0.085 317.3)
XYZxyz(1.7473, 0.9878, 3.4661)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A35 #14350A
analogous
#160A35 #2B0A35 #350A29
triadic
#2B0A35 #352B0A #0A352B
tetradic
#2B0A35 #35160A #14350A #0A2935
square
#2B0A35 #35160A #14350A #0A2935
split-complementary
#2B0A35 #29350A #0A3516
monochromatic
#15051A #15051A #2B0A35 #551468 #7F1D9C

Accessibility & contrast

On white

17.54
#2B0A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A35
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A35#FFFFFF#000000##FFFFFF
##2B0A351.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0B1A34
Tritanopia (blue-blind)
#2B121E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0a35;
/* rgb */ color: rgb(43, 10, 53);
/* oklch */ color: oklch(22.5% 0.085 317.3);
Tailwind
colors: {
  custom: {
    50: '#664c6c',
    500: '#2b0a35',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a35;
$custom-light: #664c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a35",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 286.047,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22536,
    "c": 0.08473,
    "h": 317.3
  },
  "luminance": 0.00988
}

Semantic roles & 50–950 ramp

primary
#2B0A35
secondary
#3A7228
accent
#EB3D65
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0A35

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

Preview Lab → · Contrast checker → · Palette generator →

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