#2D062F#2D062F

#2D062F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.086 H 325.9°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#2D062F
RGBrgb(45, 6, 47)
HSLhsl(297, 77%, 10%)
HSVhsv(297, 87%, 18%)
CMYKcmyk(4.3%, 87.2%, 0%, 81.6%)
CIE-LABlab(8.07, 25.98, -17.35)
CIE-LCHlch(8.07, 31.24, 326.27°)
OKLaboklab(21.88% 0.0713 -0.0482)
OKLCHoklch(21.88% 0.086 325.9)
XYZxyz(1.6604, 0.8935, 2.7738)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D062F #082F06
analogous
#18062F #2D062F #2F061C
triadic
#2D062F #2F2D06 #062F2D
tetradic
#2D062F #2F1806 #082F06 #061C2F
square
#2D062F #2F1806 #082F06 #061C2F
split-complementary
#2D062F #1C2F06 #062F18
monochromatic
#1A031B #1A031B #2D062F #610D65 #95149C

Accessibility & contrast

On white

17.82
#2D062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D062F
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D062F#FFFFFF#000000##FFFFFF
##2D062F1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001530
Deuteranopia (green-blind)
#0F192E
Tritanopia (blue-blind)
#2E0C19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d062f;
/* rgb */ color: rgb(45, 6, 47);
/* oklch */ color: oklch(21.9% 0.086 325.9);
Tailwind
colors: {
  custom: {
    50: '#684a67',
    500: '#2d062f',
    950: '#000000',
  },
}
SCSS
$custom: #2d062f;
$custom-light: #684a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d062f",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 297.073,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21883,
    "c": 0.08606,
    "h": 325.9
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#2D062F
secondary
#257021
accent
#F4343D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D062F

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

Preview Lab → · Contrast checker → · Palette generator →

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