#2B062F#2B062F

#2B062F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.085 H 323.7°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#2B062F
RGBrgb(43, 6, 47)
HSLhsl(294, 77%, 10%)
HSVhsv(294, 87%, 18%)
CMYKcmyk(8.5%, 87.2%, 0%, 81.6%)
CIE-LABlab(7.67, 25.43, -18.01)
CIE-LCHlch(7.67, 31.16, 324.69°)
OKLaboklab(21.52% 0.0685 -0.0503)
OKLCHoklch(21.52% 0.085 323.7)
XYZxyz(1.5744, 0.8492, 2.7698)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B062F #0A2F06
analogous
#16062F #2B062F #2F061E
triadic
#2B062F #2F2B06 #062F2B
tetradic
#2B062F #2F1606 #0A2F06 #061E2F
square
#2B062F #2F1606 #0A2F06 #061E2F
split-complementary
#2B062F #1E2F06 #062F16
monochromatic
#19031B #19031B #2B062F #5D0D65 #8E149C

Accessibility & contrast

On white

17.95
#2B062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B062F
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B062F#FFFFFF#000000##FFFFFF
##2B062F1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#0D182E
Tritanopia (blue-blind)
#2C0D19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b062f;
/* rgb */ color: rgb(43, 6, 47);
/* oklch */ color: oklch(21.5% 0.085 323.7);
Tailwind
colors: {
  custom: {
    50: '#664a68',
    500: '#2b062f',
    950: '#000000',
  },
}
SCSS
$custom: #2b062f;
$custom-light: #664a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b062f",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 294.146,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21515,
    "c": 0.08493,
    "h": 323.7
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#2B062F
secondary
#297021
accent
#F43447
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B062F

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

Preview Lab → · Contrast checker → · Palette generator →

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