#2B0730#2B0730

#2B0730 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.084 H 322.6°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#2B0730
RGBrgb(43, 7, 48)
HSLhsl(293, 75%, 11%)
HSVhsv(293, 85%, 19%)
CMYKcmyk(10.4%, 85.4%, 0%, 81.2%)
CIE-LABlab(7.94, 25.11, -18.32)
CIE-LCHlch(7.94, 31.08, 323.88°)
OKLaboklab(21.74% 0.0669 -0.0511)
OKLCHoklch(21.74% 0.084 322.6)
XYZxyz(1.6057, 0.8790, 2.8808)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0730 #0C3007
analogous
#160730 #2B0730 #300720
triadic
#2B0730 #302B07 #07302B
tetradic
#2B0730 #301607 #0C3007 #072030
square
#2B0730 #301607 #0C3007 #072030
split-complementary
#2B0730 #203007 #073016
monochromatic
#18041B #18041B #2B0730 #5B0F65 #8B179B

Accessibility & contrast

On white

17.86
#2B0730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2B0730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0730
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0730#FFFFFF#000000##FFFFFF
##2B07301.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#0D192F
Tritanopia (blue-blind)
#2C0E1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0730;
/* rgb */ color: rgb(43, 7, 48);
/* oklch */ color: oklch(21.7% 0.084 322.6);
Tailwind
colors: {
  custom: {
    50: '#664a68',
    500: '#2b0730',
    950: '#000000',
  },
}
SCSS
$custom: #2b0730;
$custom-light: #664a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0730",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 292.683,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21735,
    "c": 0.08418,
    "h": 322.6
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#2B0730
secondary
#2C7023
accent
#F1374D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0730

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

Preview Lab → · Contrast checker → · Palette generator →

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