#2D0C3A#2D0C3A

#2D0C3A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.088 H 314.8°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#2D0C3A
RGBrgb(45, 12, 58)
HSLhsl(283, 66%, 14%)
HSVhsv(283, 79%, 23%)
CMYKcmyk(22.4%, 79.3%, 0%, 77.3%)
CIE-LABlab(10.00, 25.43, -22.29)
CIE-LCHlch(10.00, 33.82, 318.77°)
OKLaboklab(23.53% 0.0622 -0.0627)
OKLCHoklch(23.53% 0.088 314.8)
XYZxyz(1.9773, 1.1264, 4.1154)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C3A #193A0C
analogous
#160C3A #2D0C3A #3A0C30
triadic
#2D0C3A #3A2D0C #0C3A2D
tetradic
#2D0C3A #3A160C #193A0C #0C303A
square
#2D0C3A #3A160C #193A0C #0C303A
split-complementary
#2D0C3A #303A0C #0C3A16
monochromatic
#140519 #140519 #2D0C3A #54166D #7C219F

Accessibility & contrast

On white

17.14
#2D0C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C3A
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C3A#FFFFFF#000000##FFFFFF
##2D0C3A1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#0A1C39
Tritanopia (blue-blind)
#2C1521
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0c3a;
/* rgb */ color: rgb(45, 12, 58);
/* oklch */ color: oklch(23.5% 0.088 314.8);
Tailwind
colors: {
  custom: {
    50: '#684e70',
    500: '#2d0c3a',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c3a;
$custom-light: #684e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c3a",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 283.043,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23531,
    "c": 0.08836,
    "h": 314.8
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#2D0C3A
secondary
#41762C
accent
#E93F6F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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