#2B0D34#2B0D34

#2B0D34 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.079 H 317.6°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#2B0D34
RGBrgb(43, 13, 52)
HSLhsl(286, 60%, 13%)
HSVhsv(286, 75%, 20%)
CMYKcmyk(17.3%, 75%, 0%, 79.6%)
CIE-LABlab(9.40, 22.81, -18.93)
CIE-LCHlch(9.40, 29.64, 320.31°)
OKLaboklab(22.88% 0.0581 -0.053)
OKLCHoklch(22.88% 0.079 317.6)
XYZxyz(1.7599, 1.0494, 3.3580)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D34 #16340D
analogous
#170D34 #2B0D34 #340D29
triadic
#2B0D34 #342B0D #0D342B
tetradic
#2B0D34 #34170D #16340D #0D2934
square
#2B0D34 #34170D #16340D #0D2934
split-complementary
#2B0D34 #29340D #0D3417
monochromatic
#140618 #140618 #2B0D34 #531965 #7C2596

Accessibility & contrast

On white

17.36
#2B0D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D34
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D34#FFFFFF#000000##FFFFFF
##2B0D341.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031835
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#2B141E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0d34;
/* rgb */ color: rgb(43, 13, 52);
/* oklch */ color: oklch(22.9% 0.079 317.6);
Tailwind
colors: {
  custom: {
    50: '#664e6b',
    500: '#2b0d34',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d34;
$custom-light: #664e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d34",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 286.154,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22877,
    "c": 0.07861,
    "h": 317.6
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#2B0D34
secondary
#3D6F2D
accent
#E34569
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0D34

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

Preview Lab → · Contrast checker → · Palette generator →

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