#2B0F36#2B0F36

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

Color values

HEX#2B0F36
RGBrgb(43, 15, 54)
HSLhsl(283, 57%, 14%)
HSVhsv(283, 72%, 21%)
CMYKcmyk(20.4%, 72.2%, 0%, 78.8%)
CIE-LABlab(9.97, 22.16, -19.48)
CIE-LCHlch(9.97, 29.50, 318.68°)
OKLaboklab(23.34% 0.055 -0.0546)
OKLCHoklch(23.34% 0.078 315.2)
XYZxyz(1.8328, 1.1216, 3.6093)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F36 #1A360F
analogous
#170F36 #2B0F36 #360F2D
triadic
#2B0F36 #362B0F #0F362B
tetradic
#2B0F36 #36170F #1A360F #0F2D36
square
#2B0F36 #36170F #1A360F #0F2D36
split-complementary
#2B0F36 #2D360F #0F3617
monochromatic
#130718 #130718 #2B0F36 #511C66 #772A96

Accessibility & contrast

On white

17.15
#2B0F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F36
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F36#FFFFFF#000000##FFFFFF
##2B0F361.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041A37
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#2A1620
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0f36;
/* rgb */ color: rgb(43, 15, 54);
/* oklch */ color: oklch(23.3% 0.078 315.2);
Tailwind
colors: {
  custom: {
    50: '#664f6d',
    500: '#2b0f36',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f36;
$custom-light: #664f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f36",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 283.077,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23336,
    "c": 0.07752,
    "h": 315.2
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#2B0F36
secondary
#437031
accent
#E04873
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B0F36

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

Preview Lab → · Contrast checker → · Palette generator →

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