#2B0F2F#2B0F2F

#2B0F2F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.8% C 0.069 H 322.5°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2B0F2F
RGBrgb(43, 15, 47)
HSLhsl(293, 52%, 12%)
HSVhsv(293, 68%, 18%)
CMYKcmyk(8.5%, 68.1%, 0%, 81.6%)
CIE-LABlab(9.49, 20.39, -15.13)
CIE-LCHlch(9.49, 25.39, 323.43°)
OKLaboklab(22.83% 0.0546 -0.0419)
OKLCHoklch(22.83% 0.069 322.5)
XYZxyz(1.6801, 1.0606, 2.8050)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F2F #132F0F
analogous
#1B0F2F #2B0F2F #2F0F23
triadic
#2B0F2F #2F2B0F #0F2F2B
tetradic
#2B0F2F #2F1B0F #132F0F #0F232F
square
#2B0F2F #2F1B0F #132F0F #0F232F
split-complementary
#2B0F2F #232F0F #0F2F1B
monochromatic
#150717 #150717 #2B0F2F #551E5D #802D8C

Accessibility & contrast

On white

17.33
#2B0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F2F
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F2F#FFFFFF#000000##FFFFFF
##2B0F2F1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#131C2E
Tritanopia (blue-blind)
#2C131D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0f2f;
/* rgb */ color: rgb(43, 15, 47);
/* oklch */ color: oklch(22.8% 0.069 322.5);
Tailwind
colors: {
  custom: {
    50: '#654f67',
    500: '#2b0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f2f;
$custom-light: #654f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f2f",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 292.5,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22831,
    "c": 0.06887,
    "h": 322.5
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#2B0F2F
secondary
#386931
accent
#DB4D5F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2B0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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