#2B1035#2B1035

#2B1035 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.074 H 315.9°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#2B1035
RGBrgb(43, 16, 53)
HSLhsl(284, 54%, 14%)
HSVhsv(284, 70%, 21%)
CMYKcmyk(18.9%, 69.8%, 0%, 79.2%)
CIE-LABlab(10.12, 21.29, -18.51)
CIE-LCHlch(10.12, 28.22, 319.00°)
OKLaboklab(23.42% 0.0535 -0.0518)
OKLCHoklch(23.42% 0.074 315.9)
XYZxyz(1.8241, 1.1413, 3.4917)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1035 #1A3510
analogous
#181035 #2B1035 #35102C
triadic
#2B1035 #352B10 #10352B
tetradic
#2B1035 #351810 #1A3510 #102C35
square
#2B1035 #351810 #1A3510 #102C35
split-complementary
#2B1035 #2C3510 #103518
monochromatic
#130718 #130718 #2B1035 #511E64 #772C93

Accessibility & contrast

On white

17.10
#2B1035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2B1035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1035
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1035#FFFFFF#000000##FFFFFF
##2B10351.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A36
Deuteranopia (green-blind)
#101C34
Tritanopia (blue-blind)
#2A1620
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b1035;
/* rgb */ color: rgb(43, 16, 53);
/* oklch */ color: oklch(23.4% 0.074 315.9);
Tailwind
colors: {
  custom: {
    50: '#66506c',
    500: '#2b1035',
    950: '#000000',
  },
}
SCSS
$custom: #2b1035;
$custom-light: #66506c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1035",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 283.784,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23423,
    "c": 0.07443,
    "h": 315.9
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#2B1035
secondary
#436F32
accent
#DD4B72
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B1035

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

Preview Lab → · Contrast checker → · Palette generator →

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