#2D0F39#2D0F39

#2D0F39 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.082 H 314.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#2D0F39
RGBrgb(45, 15, 57)
HSLhsl(283, 58%, 14%)
HSVhsv(283, 74%, 22%)
CMYKcmyk(21.1%, 73.7%, 0%, 77.6%)
CIE-LABlab(10.52, 23.53, -20.74)
CIE-LCHlch(10.52, 31.36, 318.61°)
OKLaboklab(23.88% 0.0581 -0.0582)
OKLCHoklch(23.88% 0.082 314.9)
XYZxyz(1.9914, 1.1950, 3.9959)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F39 #1B390F
analogous
#180F39 #2D0F39 #390F30
triadic
#2D0F39 #392D0F #0F392D
tetradic
#2D0F39 #39180F #1B390F #0F3039
square
#2D0F39 #39180F #1B390F #0F3039
split-complementary
#2D0F39 #30390F #0F3918
monochromatic
#130618 #130618 #2D0F39 #531C69 #7A299A

Accessibility & contrast

On white

16.95
#2D0F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D0F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F39
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F39#FFFFFF#000000##FFFFFF
##2D0F391.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3A
Deuteranopia (green-blind)
#0E1D38
Tritanopia (blue-blind)
#2C1722
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0f39;
/* rgb */ color: rgb(45, 15, 57);
/* oklch */ color: oklch(23.9% 0.082 314.9);
Tailwind
colors: {
  custom: {
    50: '#684f6f',
    500: '#2d0f39',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f39;
$custom-light: #684f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f39",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 282.857,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23879,
    "c": 0.08224,
    "h": 314.9
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#2D0F39
secondary
#447330
accent
#E24673
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0F39

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

Preview Lab → · Contrast checker → · Palette generator →

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