#2B0D37#2B0D37

#2B0D37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.082 H 314.8°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#2B0D37
RGBrgb(43, 13, 55)
HSLhsl(283, 62%, 13%)
HSVhsv(283, 76%, 22%)
CMYKcmyk(21.8%, 76.4%, 0%, 78.4%)
CIE-LABlab(9.62, 23.57, -20.76)
CIE-LCHlch(9.62, 31.41, 318.64°)
OKLaboklab(23.11% 0.058 -0.0583)
OKLCHoklch(23.11% 0.082 314.8)
XYZxyz(1.8297, 1.0773, 3.7253)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D37 #19370D
analogous
#160D37 #2B0D37 #370D2E
triadic
#2B0D37 #372B0D #0D372B
tetradic
#2B0D37 #37160D #19370D #0D2E37
square
#2B0D37 #37160D #19370D #0D2E37
split-complementary
#2B0D37 #2E370D #0D3716
monochromatic
#130619 #130619 #2B0D37 #521968 #78249A

Accessibility & contrast

On white

17.28
#2B0D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B0D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D37
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D37#FFFFFF#000000##FFFFFF
##2B0D371.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#0C1C36
Tritanopia (blue-blind)
#2A1520
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0d37;
/* rgb */ color: rgb(43, 13, 55);
/* oklch */ color: oklch(23.1% 0.082 314.8);
Tailwind
colors: {
  custom: {
    50: '#664e6e',
    500: '#2b0d37',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d37;
$custom-light: #664e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d37",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 55
  },
  "hsl": {
    "h": 282.857,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23109,
    "c": 0.08224,
    "h": 314.8
  },
  "luminance": 0.01077
}

Semantic roles & 50–950 ramp

primary
#2B0D37
secondary
#41722D
accent
#E54371
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0D37

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

Preview Lab → · Contrast checker → · Palette generator →

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