#2B0839#2B0839

#2B0839 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.092 H 314.2°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#2B0839
RGBrgb(43, 8, 57)
HSLhsl(283, 75%, 13%)
HSVhsv(283, 86%, 22%)
CMYKcmyk(24.6%, 86%, 0%, 77.6%)
CIE-LABlab(8.85, 26.71, -23.45)
CIE-LCHlch(8.85, 35.54, 318.72°)
OKLaboklab(22.61% 0.0644 -0.0662)
OKLCHoklch(22.61% 0.092 314.2)
XYZxyz(1.8215, 0.9827, 3.9638)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0839 #163908
analogous
#120839 #2B0839 #39082E
triadic
#2B0839 #392B08 #08392B
tetradic
#2B0839 #391208 #163908 #082E39
square
#2B0839 #391208 #163908 #082E39
split-complementary
#2B0839 #2E3908 #083912
monochromatic
#14041B #14041B #2B0839 #53106F #7C17A4

Accessibility & contrast

On white

17.55
#2B0839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B0839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0839
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0839#FFFFFF#000000##FFFFFF
##2B08391.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#051A38
Tritanopia (blue-blind)
#2A1320
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0839;
/* rgb */ color: rgb(43, 8, 57);
/* oklch */ color: oklch(22.6% 0.092 314.2);
Tailwind
colors: {
  custom: {
    50: '#674b70',
    500: '#2b0839',
    950: '#000000',
  },
}
SCSS
$custom: #2b0839;
$custom-light: #674b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0839",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 282.857,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22608,
    "c": 0.09233,
    "h": 314.2
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#2B0839
secondary
#3D7825
accent
#F2366C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0839

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

Preview Lab → · Contrast checker → · Palette generator →

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