#2D0C35#2D0C35

#2D0C35 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.083 H 319.2°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#2D0C35
RGBrgb(45, 12, 53)
HSLhsl(288, 63%, 13%)
HSVhsv(288, 77%, 21%)
CMYKcmyk(15.1%, 77.4%, 0%, 79.2%)
CIE-LABlab(9.63, 24.20, -19.28)
CIE-LCHlch(9.63, 30.93, 321.46°)
OKLaboklab(23.14% 0.0625 -0.0539)
OKLCHoklch(23.14% 0.083 319.2)
XYZxyz(1.8562, 1.0780, 3.4778)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C35 #14350C
analogous
#190C35 #2D0C35 #350C28
triadic
#2D0C35 #352D0C #0C352D
tetradic
#2D0C35 #35190C #14350C #0C2835
square
#2D0C35 #35190C #14350C #0C2835
split-complementary
#2D0C35 #28350C #0C3519
monochromatic
#150619 #150619 #2D0C35 #571767 #822399

Accessibility & contrast

On white

17.28
#2D0C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D0C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0C35
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C35#FFFFFF#000000##FFFFFF
##2D0C351.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021936
Deuteranopia (green-blind)
#0F1C34
Tritanopia (blue-blind)
#2D131F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0c35;
/* rgb */ color: rgb(45, 12, 53);
/* oklch */ color: oklch(23.1% 0.083 319.2);
Tailwind
colors: {
  custom: {
    50: '#684e6c',
    500: '#2d0c35',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c35;
$custom-light: #684e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c35",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 288.293,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23138,
    "c": 0.08257,
    "h": 319.2
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#2D0C35
secondary
#39712C
accent
#E64262
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0C35

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

Preview Lab → · Contrast checker → · Palette generator →

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