#2D062E#2D062E

#2D062E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.085 H 326.9°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#2D062E
RGBrgb(45, 6, 46)
HSLhsl(299, 77%, 10%)
HSVhsv(299, 87%, 18%)
CMYKcmyk(2.2%, 87%, 0%, 82%)
CIE-LABlab(8.00, 25.77, -16.72)
CIE-LCHlch(8.00, 30.72, 327.03°)
OKLaboklab(21.81% 0.0713 -0.0464)
OKLCHoklch(21.81% 0.085 326.9)
XYZxyz(1.6404, 0.8855, 2.6688)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D062E #072E06
analogous
#19062E #2D062E #2E061B
triadic
#2D062E #2E2D06 #062E2D
tetradic
#2D062E #2E1906 #072E06 #061B2E
square
#2D062E #2E1906 #072E06 #061B2E
split-complementary
#2D062E #1B2E06 #062E19
monochromatic
#1A041B #1A041B #2D062E #620D64 #97149A

Accessibility & contrast

On white

17.84
#2D062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2D062E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D062E
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D062E#FFFFFF#000000##FFFFFF
##2D062E1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142F
Deuteranopia (green-blind)
#10192D
Tritanopia (blue-blind)
#2F0C19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d062e;
/* rgb */ color: rgb(45, 6, 46);
/* oklch */ color: oklch(21.8% 0.085 326.9);
Tailwind
colors: {
  custom: {
    50: '#684a67',
    500: '#2d062e',
    950: '#000000',
  },
}
SCSS
$custom: #2d062e;
$custom-light: #684a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d062e",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 298.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21808,
    "c": 0.08507,
    "h": 326.9
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#2D062E
secondary
#236F21
accent
#F33439
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D062E

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

Preview Lab → · Contrast checker → · Palette generator →

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