#2D0E2F#2D0E2F

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

Color values

HEX#2D0E2F
RGBrgb(45, 14, 47)
HSLhsl(296, 54%, 12%)
HSVhsv(296, 70%, 18%)
CMYKcmyk(4.3%, 70.2%, 0%, 81.6%)
CIE-LABlab(9.62, 21.66, -14.89)
CIE-LCHlch(9.62, 26.28, 325.49°)
OKLaboklab(23% 0.0592 -0.0412)
OKLCHoklch(23% 0.072 325.2)
XYZxyz(1.7523, 1.0773, 2.8044)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E2F #102F0E
analogous
#1D0E2F #2D0E2F #2F0E21
triadic
#2D0E2F #2F2D0E #0E2F2D
tetradic
#2D0E2F #2F1D0E #102F0E #0E212F
square
#2D0E2F #2F1D0E #102F0E #0E212F
split-complementary
#2D0E2F #212F0E #0E2F1D
monochromatic
#170718 #170718 #2D0E2F #5A1C5E #872A8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D0E2F#FFFFFF#000000##FFFFFF
##2D0E2F1.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)
#091830
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#2E121C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0e2f;
/* rgb */ color: rgb(45, 14, 47);
/* oklch */ color: oklch(23.0% 0.072 325.2);
Tailwind
colors: {
  custom: {
    50: '#674e67',
    500: '#2d0e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e2f;
$custom-light: #674e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e2f",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 296.364,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23001,
    "c": 0.07215,
    "h": 325.2
  },
  "luminance": 0.01077
}

Semantic roles & 50–950 ramp

primary
#2D0E2F
secondary
#33692F
accent
#DD4A53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D0E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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