#2D0E29#2D0E29

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

Color values

HEX#2D0E29
RGBrgb(45, 14, 41)
HSLhsl(308, 53%, 12%)
HSVhsv(308, 69%, 18%)
CMYKcmyk(0%, 68.9%, 8.9%, 82.4%)
CIE-LABlab(9.26, 20.32, -11.01)
CIE-LCHlch(9.26, 23.12, 331.55°)
OKLaboklab(22.62% 0.0583 -0.03)
OKLCHoklch(22.62% 0.066 332.8)
XYZxyz(1.6395, 1.0322, 2.2103)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E29 #0E2D12
analogous
#220E2D #2D0E29 #2D0E1A
triadic
#2D0E29 #292D0E #0E292D
tetradic
#2D0E29 #2D220E #0E2D12 #0E1A2D
square
#2D0E29 #2D220E #0E2D12 #0E1A2D
split-complementary
#2D0E29 #1A2D0E #0E2D22
monochromatic
#170715 #170715 #2D0E29 #5C1D54 #8A2B7E

Accessibility & contrast

On white

17.41
#2D0E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0E29
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E29#FFFFFF#000000##FFFFFF
##2D0E291.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0e29;
/* rgb */ color: rgb(45, 14, 41);
/* oklch */ color: oklch(22.6% 0.066 332.8);
Tailwind
colors: {
  custom: {
    50: '#674e62',
    500: '#2d0e29',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e29;
$custom-light: #674e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e29",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 41
  },
  "hsl": {
    "h": 307.742,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22617,
    "c": 0.06559,
    "h": 332.8
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#2D0E29
secondary
#306737
accent
#DC5E4C
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D0E29

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

Preview Lab → · Contrast checker → · Palette generator →

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