#2B0F31#2B0F31

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

Color values

HEX#2B0F31
RGBrgb(43, 15, 49)
HSLhsl(289, 53%, 13%)
HSVhsv(289, 69%, 19%)
CMYKcmyk(12.2%, 69.4%, 0%, 80.8%)
CIE-LABlab(9.62, 20.88, -16.39)
CIE-LCHlch(9.62, 26.55, 321.88°)
OKLaboklab(22.97% 0.0548 -0.0456)
OKLCHoklch(22.97% 0.071 320.3)
XYZxyz(1.7214, 1.0771, 3.0224)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F31 #15310F
analogous
#1A0F31 #2B0F31 #310F26
triadic
#2B0F31 #312B0F #0F312B
tetradic
#2B0F31 #311A0F #15310F #0F2631
square
#2B0F31 #311A0F #15310F #0F2631
split-complementary
#2B0F31 #26310F #0F311A
monochromatic
#150717 #150717 #2B0F31 #541D60 #7D2C8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B0F31#FFFFFF#000000##FFFFFF
##2B0F311.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)
#081932
Deuteranopia (green-blind)
#121C30
Tritanopia (blue-blind)
#2B141E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0f31;
/* rgb */ color: rgb(43, 15, 49);
/* oklch */ color: oklch(23.0% 0.071 320.3);
Tailwind
colors: {
  custom: {
    50: '#664f69',
    500: '#2b0f31',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f31;
$custom-light: #664f69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f31",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 289.412,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2297,
    "c": 0.07131,
    "h": 320.3
  },
  "luminance": 0.01077
}

Semantic roles & 50–950 ramp

primary
#2B0F31
secondary
#3B6B31
accent
#DD4B65
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B0F31

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

Preview Lab → · Contrast checker → · Palette generator →

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