#2B1034#2B1034

#2B1034 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.073 H 316.9°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#2B1034
RGBrgb(43, 16, 52)
HSLhsl(285, 53%, 13%)
HSVhsv(285, 69%, 20%)
CMYKcmyk(17.3%, 69.2%, 0%, 79.6%)
CIE-LABlab(10.05, 21.03, -17.90)
CIE-LCHlch(10.05, 27.62, 319.61°)
OKLaboklab(23.35% 0.0534 -0.05)
OKLCHoklch(23.35% 0.073 316.9)
XYZxyz(1.8013, 1.1322, 3.3718)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1034 #193410
analogous
#191034 #2B1034 #34102B
triadic
#2B1034 #342B10 #10342B
tetradic
#2B1034 #341910 #193410 #102B34
square
#2B1034 #341910 #193410 #102B34
split-complementary
#2B1034 #2B3410 #103419
monochromatic
#130717 #130717 #2B1034 #521E63 #782D92

Accessibility & contrast

On white

17.12
#2B1034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1034
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1034#FFFFFF#000000##FFFFFF
##2B10341.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A35
Deuteranopia (green-blind)
#111C33
Tritanopia (blue-blind)
#2B1620
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b1034;
/* rgb */ color: rgb(43, 16, 52);
/* oklch */ color: oklch(23.3% 0.073 316.9);
Tailwind
colors: {
  custom: {
    50: '#66506b',
    500: '#2b1034',
    950: '#000000',
  },
}
SCSS
$custom: #2b1034;
$custom-light: #66506b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1034",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 285,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23349,
    "c": 0.07315,
    "h": 316.9
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#2B1034
secondary
#416E32
accent
#DC4B70
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B1034

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

Preview Lab → · Contrast checker → · Palette generator →

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