#2D0F34#2D0F34

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

Color values

HEX#2D0F34
RGBrgb(45, 15, 52)
HSLhsl(289, 55%, 13%)
HSVhsv(289, 71%, 20%)
CMYKcmyk(13.5%, 71.2%, 0%, 79.6%)
CIE-LABlab(10.16, 22.27, -17.69)
CIE-LCHlch(10.16, 28.44, 321.54°)
OKLaboklab(23.51% 0.058 -0.0493)
OKLCHoklch(23.51% 0.076 319.6)
XYZxyz(1.8728, 1.1476, 3.3710)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F34 #16340F
analogous
#1A0F34 #2D0F34 #340F28
triadic
#2D0F34 #342D0F #0F342D
tetradic
#2D0F34 #341A0F #16340F #0F2834
square
#2D0F34 #341A0F #16340F #0F2834
split-complementary
#2D0F34 #28340F #0F341A
monochromatic
#150718 #150718 #2D0F34 #561D63 #7F2A93

Accessibility & contrast

On white

17.08
#2D0F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F34
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F34#FFFFFF#000000##FFFFFF
##2D0F341.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A35
Deuteranopia (green-blind)
#121D33
Tritanopia (blue-blind)
#2D151F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0f34;
/* rgb */ color: rgb(45, 15, 52);
/* oklch */ color: oklch(23.5% 0.076 319.6);
Tailwind
colors: {
  custom: {
    50: '#674f6b',
    500: '#2d0f34',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f34;
$custom-light: #674f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f34",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 288.649,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23506,
    "c": 0.07616,
    "h": 319.6
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#2D0F34
secondary
#3C6E31
accent
#DF4965
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D0F34

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

Preview Lab → · Contrast checker → · Palette generator →

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