#2B0627#2B0627

#2B0627 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.077 H 332.6°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#2B0627
RGBrgb(43, 6, 39)
HSLhsl(306, 76%, 10%)
HSVhsv(306, 86%, 17%)
CMYKcmyk(0%, 86%, 9.3%, 83.1%)
CIE-LABlab(7.14, 23.63, -12.84)
CIE-LCHlch(7.14, 26.89, 331.47°)
OKLaboklab(20.93% 0.0684 -0.0354)
OKLCHoklch(20.93% 0.077 332.6)
XYZxyz(1.4276, 0.7904, 1.9964)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0627 #062B0A
analogous
#1D062B #2B0627 #2B0615
triadic
#2B0627 #272B06 #06272B
tetradic
#2B0627 #2B1D06 #062B0A #06152B
square
#2B0627 #2B1D06 #062B0A #06152B
split-complementary
#2B0627 #152B06 #062B1D
monochromatic
#1B0418 #1B0418 #2B0627 #610D58 #961588

Accessibility & contrast

On white

18.13
#2B0627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0627
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0627#FFFFFF#000000##FFFFFF
##2B06271.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051228
Deuteranopia (green-blind)
#111826
Tritanopia (blue-blind)
#2D0915
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0627;
/* rgb */ color: rgb(43, 6, 39);
/* oklch */ color: oklch(20.9% 0.077 332.6);
Tailwind
colors: {
  custom: {
    50: '#664961',
    500: '#2b0627',
    950: '#000000',
  },
}
SCSS
$custom: #2b0627;
$custom-light: #664961;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0627",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 39
  },
  "hsl": {
    "h": 306.486,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20934,
    "c": 0.07701,
    "h": 332.6
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#2B0627
secondary
#216C29
accent
#F24A36
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0627

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

Preview Lab → · Contrast checker → · Palette generator →

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