#2B0D31#2B0D31

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

Color values

HEX#2B0D31
RGBrgb(43, 13, 49)
HSLhsl(290, 58%, 12%)
HSVhsv(290, 73%, 19%)
CMYKcmyk(12.2%, 73.5%, 0%, 80.8%)
CIE-LABlab(9.18, 22.07, -17.08)
CIE-LCHlch(9.18, 27.90, 322.27°)
OKLaboklab(22.65% 0.058 -0.0476)
OKLCHoklch(22.65% 0.075 320.6)
XYZxyz(1.6945, 1.0233, 3.0134)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D31 #13310D
analogous
#190D31 #2B0D31 #310D25
triadic
#2B0D31 #312B0D #0D312B
tetradic
#2B0D31 #31190D #13310D #0D2531
square
#2B0D31 #31190D #13310D #0D2531
split-complementary
#2B0D31 #25310D #0D3119
monochromatic
#150618 #150618 #2B0D31 #551A61 #802792

Accessibility & contrast

On white

17.43
#2B0D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0D31
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D31#FFFFFF#000000##FFFFFF
##2B0D311.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051832
Deuteranopia (green-blind)
#101B30
Tritanopia (blue-blind)
#2B131D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0d31;
/* rgb */ color: rgb(43, 13, 49);
/* oklch */ color: oklch(22.7% 0.075 320.6);
Tailwind
colors: {
  custom: {
    50: '#664e69',
    500: '#2b0d31',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d31;
$custom-light: #664e69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d31",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 290,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22654,
    "c": 0.07503,
    "h": 320.6
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#2B0D31
secondary
#386C2E
accent
#E14760
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0D31

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

Preview Lab → · Contrast checker → · Palette generator →

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