#2B062A#2B062A

#2B062A is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.080 H 329.1°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#2B062A
RGBrgb(43, 6, 42)
HSLhsl(302, 76%, 10%)
HSVhsv(302, 86%, 17%)
CMYKcmyk(0%, 86%, 2.3%, 83.1%)
CIE-LABlab(7.33, 24.29, -14.82)
CIE-LCHlch(7.33, 28.45, 328.62°)
OKLaboklab(21.14% 0.0686 -0.041)
OKLCHoklch(21.14% 0.08 329.1)
XYZxyz(1.4793, 0.8111, 2.2687)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B062A #062B07
analogous
#1A062B #2B062A #2B0618
triadic
#2B062A #2A2B06 #062A2B
tetradic
#2B062A #2B1A06 #062B07 #06182B
square
#2B062A #2B1A06 #062B07 #06182B
split-complementary
#2B062A #182B06 #062B1A
monochromatic
#1B041A #1B041A #2B062A #610D5E #961593

Accessibility & contrast

On white

18.07
#2B062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B062A
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B062A#FFFFFF#000000##FFFFFF
##2B062A1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132B
Deuteranopia (green-blind)
#101829
Tritanopia (blue-blind)
#2D0B17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b062a;
/* rgb */ color: rgb(43, 6, 42);
/* oklch */ color: oklch(21.1% 0.080 329.1);
Tailwind
colors: {
  custom: {
    50: '#664963',
    500: '#2b062a',
    950: '#000000',
  },
}
SCSS
$custom: #2b062a;
$custom-light: #664963;
$custom-dark: #000000;
JSON
{
  "hex": "#2b062a",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 301.622,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21143,
    "c": 0.0799,
    "h": 329.1
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#2B062A
secondary
#216C23
accent
#F23B36
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B062A

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

Preview Lab → · Contrast checker → · Palette generator →

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