#2B0B35#2B0B35

#2B0B35 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.083 H 317.1°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#2B0B35
RGBrgb(43, 11, 53)
HSLhsl(286, 66%, 13%)
HSVhsv(286, 79%, 21%)
CMYKcmyk(18.9%, 79.2%, 0%, 79.2%)
CIE-LABlab(9.07, 24.16, -20.18)
CIE-LCHlch(9.07, 31.48, 320.13°)
OKLaboklab(22.67% 0.0609 -0.0566)
OKLCHoklch(22.67% 0.083 317.1)
XYZxyz(1.7584, 1.0100, 3.4698)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B35 #15350B
analogous
#160B35 #2B0B35 #350B2A
triadic
#2B0B35 #352B0B #0B352B
tetradic
#2B0B35 #35160B #15350B #0B2A35
square
#2B0B35 #35160B #15350B #0B2A35
split-complementary
#2B0B35 #2A350B #0B3516
monochromatic
#150519 #150519 #2B0B35 #541668 #7D209A

Accessibility & contrast

On white

17.47
#2B0B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0B35
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B35#FFFFFF#000000##FFFFFF
##2B0B351.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001836
Deuteranopia (green-blind)
#0C1B34
Tritanopia (blue-blind)
#2B131E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0b35;
/* rgb */ color: rgb(43, 11, 53);
/* oklch */ color: oklch(22.7% 0.083 317.1);
Tailwind
colors: {
  custom: {
    50: '#664d6c',
    500: '#2b0b35',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b35;
$custom-light: #664d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b35",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 285.714,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22669,
    "c": 0.08315,
    "h": 317.1
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#2B0B35
secondary
#3B722A
accent
#E93F68
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0B35

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

Preview Lab → · Contrast checker → · Palette generator →

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