#2B0727#2B0727

#2B0727 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.075 H 332.7°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#2B0727
RGBrgb(43, 7, 39)
HSLhsl(307, 72%, 10%)
HSVhsv(307, 84%, 17%)
CMYKcmyk(0%, 83.7%, 9.3%, 83.1%)
CIE-LABlab(7.34, 23.09, -12.54)
CIE-LCHlch(7.34, 26.28, 331.50°)
OKLaboklab(21.09% 0.0667 -0.0345)
OKLCHoklch(21.09% 0.075 332.7)
XYZxyz(1.4385, 0.8121, 2.0001)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0727 #072B0B
analogous
#1D072B #2B0727 #2B0715
triadic
#2B0727 #272B07 #07272B
tetradic
#2B0727 #2B1D07 #072B0B #07152B
square
#2B0727 #2B1D07 #072B0B #07152B
split-complementary
#2B0727 #152B07 #072B1D
monochromatic
#1A0418 #1A0418 #2B0727 #601057 #941886

Accessibility & contrast

On white

18.07
#2B0727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B0727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0727
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0727#FFFFFF#000000##FFFFFF
##2B07271.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061328
Deuteranopia (green-blind)
#121826
Tritanopia (blue-blind)
#2D0A15
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0727;
/* rgb */ color: rgb(43, 7, 39);
/* oklch */ color: oklch(21.1% 0.075 332.7);
Tailwind
colors: {
  custom: {
    50: '#664a61',
    500: '#2b0727',
    950: '#000000',
  },
}
SCSS
$custom: #2b0727;
$custom-light: #664a61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0727",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 306.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21086,
    "c": 0.07504,
    "h": 332.7
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#2B0727
secondary
#236B2B
accent
#EF4D39
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0727

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

Preview Lab → · Contrast checker → · Palette generator →

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