#2D1330#2D1330

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

Color values

HEX#2D1330
RGBrgb(45, 19, 48)
HSLhsl(294, 43%, 13%)
HSVhsv(294, 60%, 19%)
CMYKcmyk(6.2%, 60.4%, 0%, 81.2%)
CIE-LABlab(10.83, 18.82, -13.73)
CIE-LCHlch(10.83, 23.30, 323.90°)
OKLaboklab(23.91% 0.0509 -0.0379)
OKLCHoklch(23.91% 0.063 323.3)
XYZxyz(1.8485, 1.2371, 2.9372)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1330 #163013
analogous
#1E1330 #2D1330 #301324
triadic
#2D1330 #302D13 #13302D
tetradic
#2D1330 #301E13 #163013 #132430
square
#2D1330 #301E13 #163013 #132430
split-complementary
#2D1330 #243013 #13301E
monochromatic
#150916 #150916 #2D1330 #56245C #7F3688

Accessibility & contrast

On white

16.84
#2D1330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2D1330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1330
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1330#FFFFFF#000000##FFFFFF
##2D13301.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1B31
Deuteranopia (green-blind)
#171E2F
Tritanopia (blue-blind)
#2E171F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d1330;
/* rgb */ color: rgb(45, 19, 48);
/* oklch */ color: oklch(23.9% 0.063 323.3);
Tailwind
colors: {
  custom: {
    50: '#675268',
    500: '#2d1330',
    950: '#000000',
  },
}
SCSS
$custom: #2d1330;
$custom-light: #675268;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1330",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 48
  },
  "hsl": {
    "h": 293.793,
    "s": 43.284,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23909,
    "c": 0.06343,
    "h": 323.3
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#2D1330
secondary
#3C6737
accent
#D35562
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D1330

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

Preview Lab → · Contrast checker → · Palette generator →

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