#2B062E#2B062E

#2B062E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.084 H 324.7°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#2B062E
RGBrgb(43, 6, 46)
HSLhsl(296, 77%, 10%)
HSVhsv(296, 87%, 18%)
CMYKcmyk(6.5%, 87%, 0%, 82%)
CIE-LABlab(7.60, 25.20, -17.38)
CIE-LCHlch(7.60, 30.61, 325.41°)
OKLaboklab(21.44% 0.0685 -0.0484)
OKLCHoklch(21.44% 0.084 324.7)
XYZxyz(1.5545, 0.8412, 2.6647)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B062E #092E06
analogous
#17062E #2B062E #2E061D
triadic
#2B062E #2E2B06 #062E2B
tetradic
#2B062E #2E1706 #092E06 #061D2E
square
#2B062E #2E1706 #092E06 #061D2E
split-complementary
#2B062E #1D2E06 #062E17
monochromatic
#19041B #19041B #2B062E #5E0D64 #90149A

Accessibility & contrast

On white

17.98
#2B062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2B062E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B062E
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B062E#FFFFFF#000000##FFFFFF
##2B062E1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#0E182D
Tritanopia (blue-blind)
#2C0C19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b062e;
/* rgb */ color: rgb(43, 6, 46);
/* oklch */ color: oklch(21.4% 0.084 324.7);
Tailwind
colors: {
  custom: {
    50: '#664a67',
    500: '#2b062e',
    950: '#000000',
  },
}
SCSS
$custom: #2b062e;
$custom-light: #664a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b062e",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 295.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21438,
    "c": 0.08391,
    "h": 324.7
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#2B062E
secondary
#276F21
accent
#F33443
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B062E

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

Preview Lab → · Contrast checker → · Palette generator →

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