#2B0737#2B0737

#2B0737 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.092 H 316.1°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#2B0737
RGBrgb(43, 7, 55)
HSLhsl(285, 77%, 12%)
HSVhsv(285, 87%, 22%)
CMYKcmyk(21.8%, 87.3%, 0%, 78.4%)
CIE-LABlab(8.49, 26.74, -22.56)
CIE-LCHlch(8.49, 34.99, 319.85°)
OKLaboklab(22.31% 0.0661 -0.0636)
OKLCHoklch(22.31% 0.092 316.1)
XYZxyz(1.7617, 0.9415, 3.7026)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0737 #133707
analogous
#130737 #2B0737 #37072B
triadic
#2B0737 #372B07 #07372B
tetradic
#2B0737 #371307 #133707 #072B37
square
#2B0737 #371307 #133707 #072B37
split-complementary
#2B0737 #2B3707 #073713
monochromatic
#15031B #15031B #2B0737 #550E6D #8015A4

Accessibility & contrast

On white

17.67
#2B0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B0737 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0737
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0737#FFFFFF#000000##FFFFFF
##2B07371.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#071936
Tritanopia (blue-blind)
#2A111E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0737;
/* rgb */ color: rgb(43, 7, 55);
/* oklch */ color: oklch(22.3% 0.092 316.1);
Tailwind
colors: {
  custom: {
    50: '#674b6e',
    500: '#2b0737',
    950: '#000000',
  },
}
SCSS
$custom: #2b0737;
$custom-light: #674b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0737",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 285,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22305,
    "c": 0.09169,
    "h": 316.1
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#2B0737
secondary
#387723
accent
#F43464
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0737

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

Preview Lab → · Contrast checker → · Palette generator →

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