#2B062B#2B062B

#2B062B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.081 H 328.0°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#2B062B
RGBrgb(43, 6, 43)
HSLhsl(300, 76%, 10%)
HSVhsv(300, 86%, 17%)
CMYKcmyk(0%, 86%, 0%, 83.1%)
CIE-LABlab(7.39, 24.51, -15.46)
CIE-LCHlch(7.39, 28.98, 327.76°)
OKLaboklab(21.22% 0.0686 -0.0429)
OKLCHoklch(21.22% 0.081 328)
XYZxyz(1.4974, 0.8184, 2.3641)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B062B #062B06
analogous
#19062B #2B062B #2B0619
triadic
#2B062B #2B2B06 #062B2B
tetradic
#2B062B #2B1906 #062B06 #06192B
square
#2B062B #2B1906 #062B06 #06192B
split-complementary
#2B062B #192B06 #062B19
monochromatic
#1B041B #1B041B #2B062B #610D61 #961596

Accessibility & contrast

On white

18.05
#2B062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B062B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B062B
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B062B#FFFFFF#000000##FFFFFF
##2B062B1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132C
Deuteranopia (green-blind)
#0F182A
Tritanopia (blue-blind)
#2D0B17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b062b;
/* rgb */ color: rgb(43, 6, 43);
/* oklch */ color: oklch(21.2% 0.081 328.0);
Tailwind
colors: {
  custom: {
    50: '#664964',
    500: '#2b062b',
    950: '#000000',
  },
}
SCSS
$custom: #2b062b;
$custom-light: #664964;
$custom-dark: #000000;
JSON
{
  "hex": "#2b062b",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21215,
    "c": 0.08089,
    "h": 328
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#2B062B
secondary
#216C21
accent
#F23636
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2B062B

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

Preview Lab → · Contrast checker → · Palette generator →

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