#2B0639#2B0639

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

Color values

HEX#2B0639
RGBrgb(43, 6, 57)
HSLhsl(284, 81%, 12%)
HSVhsv(284, 89%, 22%)
CMYKcmyk(24.6%, 89.5%, 0%, 77.6%)
CIE-LABlab(8.48, 27.77, -24.05)
CIE-LCHlch(8.48, 36.74, 319.11°)
OKLaboklab(22.35% 0.067 -0.0679)
OKLCHoklch(22.35% 0.095 314.6)
XYZxyz(1.7998, 0.9393, 3.9566)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0639 #143906
analogous
#110639 #2B0639 #39062E
triadic
#2B0639 #392B06 #06392B
tetradic
#2B0639 #391106 #143906 #062E39
square
#2B0639 #391106 #143906 #062E39
split-complementary
#2B0639 #2E3906 #063911
monochromatic
#15031C #15031C #2B0639 #550C70 #7F12A8

Accessibility & contrast

On white

17.68
#2B0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0639
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0639#FFFFFF#000000##FFFFFF
##2B06391.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#041938
Tritanopia (blue-blind)
#2A121F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0639;
/* rgb */ color: rgb(43, 6, 57);
/* oklch */ color: oklch(22.3% 0.095 314.6);
Tailwind
colors: {
  custom: {
    50: '#674a70',
    500: '#2b0639',
    950: '#000000',
  },
}
SCSS
$custom: #2b0639;
$custom-light: #674a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0639",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 283.529,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22346,
    "c": 0.09543,
    "h": 314.6
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#2B0639
secondary
#3A7922
accent
#F73067
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0639

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

Preview Lab → · Contrast checker → · Palette generator →

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