#2D0C3D#2D0C3D

#2D0C3D is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.092 H 312.3°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2D0C3D
RGBrgb(45, 12, 61)
HSLhsl(280, 67%, 14%)
HSVhsv(280, 80%, 24%)
CMYKcmyk(26.2%, 80.3%, 0%, 76.1%)
CIE-LABlab(10.24, 26.20, -24.05)
CIE-LCHlch(10.24, 35.56, 317.44°)
OKLaboklab(23.78% 0.0619 -0.0679)
OKLCHoklch(23.78% 0.092 312.3)
XYZxyz(2.0558, 1.1578, 4.5292)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C3D #1C3D0C
analogous
#150C3D #2D0C3D #3D0C35
triadic
#2D0C3D #3D2D0C #0C3D2D
tetradic
#2D0C3D #3D150C #1C3D0C #0C353D
square
#2D0C3D #3D150C #1C3D0C #0C353D
split-complementary
#2D0C3D #353D0C #0C3D15
monochromatic
#13051A #13051A #2D0C3D #531670 #7820A3

Accessibility & contrast

On white

17.05
#2D0C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D0C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0C3D
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C3D#FFFFFF#000000##FFFFFF
##2D0C3D1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#071D3C
Tritanopia (blue-blind)
#2B1623
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0c3d;
/* rgb */ color: rgb(45, 12, 61);
/* oklch */ color: oklch(23.8% 0.092 312.3);
Tailwind
colors: {
  custom: {
    50: '#684e73',
    500: '#2d0c3d',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c3d;
$custom-light: #684e73;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c3d",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 280.408,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23778,
    "c": 0.09188,
    "h": 312.3
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#2D0C3D
secondary
#45792C
accent
#EA3E76
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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