#2D062A#2D062A

#2D062A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.081 H 331.3°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#2D062A
RGBrgb(45, 6, 42)
HSLhsl(305, 76%, 10%)
HSVhsv(305, 87%, 18%)
CMYKcmyk(0%, 86.7%, 6.7%, 82.4%)
CIE-LABlab(7.73, 24.94, -14.16)
CIE-LCHlch(7.73, 28.68, 330.41°)
OKLaboklab(21.52% 0.0712 -0.039)
OKLCHoklch(21.52% 0.081 331.3)
XYZxyz(1.5652, 0.8554, 2.2727)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D062A #062D09
analogous
#1C062D #2D062A #2D0617
triadic
#2D062A #2A2D06 #062A2D
tetradic
#2D062A #2D1C06 #062D09 #06172D
square
#2D062A #2D1C06 #062D09 #06172D
split-complementary
#2D062A #172D06 #062D1C
monochromatic
#1B0419 #1B0419 #2D062A #630D5C #99148F

Accessibility & contrast

On white

17.93
#2D062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D062A
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D062A#FFFFFF#000000##FFFFFF
##2D062A1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04132B
Deuteranopia (green-blind)
#121929
Tritanopia (blue-blind)
#2F0A17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d062a;
/* rgb */ color: rgb(45, 6, 42);
/* oklch */ color: oklch(21.5% 0.081 331.3);
Tailwind
colors: {
  custom: {
    50: '#684a63',
    500: '#2d062a',
    950: '#000000',
  },
}
SCSS
$custom: #2d062a;
$custom-light: #684a63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d062a",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 304.615,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.21523,
    "c": 0.08121,
    "h": 331.3
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#2D062A
secondary
#216E27
accent
#F34335
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2D062A

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

Preview Lab → · Contrast checker → · Palette generator →

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