#2D0E28#2D0E28

#2D0E28 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.065 H 334.1°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2D0E28
RGBrgb(45, 14, 40)
HSLhsl(310, 53%, 12%)
HSVhsv(310, 69%, 18%)
CMYKcmyk(0%, 68.9%, 11.1%, 82.4%)
CIE-LABlab(9.20, 20.11, -10.35)
CIE-LCHlch(9.20, 22.62, 332.76°)
OKLaboklab(22.56% 0.0581 -0.0281)
OKLCHoklch(22.56% 0.065 334.1)
XYZxyz(1.6222, 1.0253, 2.1195)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E28 #0E2D13
analogous
#230E2D #2D0E28 #2D0E19
triadic
#2D0E28 #282D0E #0E282D
tetradic
#2D0E28 #2D230E #0E2D13 #0E192D
square
#2D0E28 #2D230E #0E2D13 #0E192D
split-complementary
#2D0E28 #192D0E #0E2D23
monochromatic
#170715 #170715 #2D0E28 #5C1D51 #8A2B7B

Accessibility & contrast

On white

17.43
#2D0E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D0E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0E28
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E28#FFFFFF#000000##FFFFFF
##2D0E281.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1729
Deuteranopia (green-blind)
#171C27
Tritanopia (blue-blind)
#2F1019
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0e28;
/* rgb */ color: rgb(45, 14, 40);
/* oklch */ color: oklch(22.6% 0.065 334.1);
Tailwind
colors: {
  custom: {
    50: '#674e62',
    500: '#2d0e28',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e28;
$custom-light: #674e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e28",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 40
  },
  "hsl": {
    "h": 309.677,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22557,
    "c": 0.06455,
    "h": 334.1
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#2D0E28
secondary
#306739
accent
#DC634C
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D0E28

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

Preview Lab → · Contrast checker → · Palette generator →

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