#2D1335#2D1335

#2D1335 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.2% C 0.070 H 317.7°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#2D1335
RGBrgb(45, 19, 53)
HSLhsl(286, 47%, 14%)
HSVhsv(286, 64%, 21%)
CMYKcmyk(15.1%, 64.2%, 0%, 79.2%)
CIE-LABlab(11.14, 20.07, -16.87)
CIE-LCHlch(11.14, 26.22, 319.96°)
OKLaboklab(24.24% 0.0516 -0.047)
OKLCHoklch(24.24% 0.07 317.7)
XYZxyz(1.9576, 1.2807, 3.5116)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1335 #1B3513
analogous
#1C1335 #2D1335 #35132C
triadic
#2D1335 #352D13 #13352D
tetradic
#2D1335 #351C13 #1B3513 #132C35
square
#2D1335 #351C13 #1B3513 #132C35
split-complementary
#2D1335 #2C3513 #13351C
monochromatic
#130817 #130817 #2D1335 #532362 #7A338F

Accessibility & contrast

On white

16.72
#2D1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D1335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1335
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1335#FFFFFF#000000##FFFFFF
##2D13351.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1C36
Deuteranopia (green-blind)
#141F34
Tritanopia (blue-blind)
#2D1821
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d1335;
/* rgb */ color: rgb(45, 19, 53);
/* oklch */ color: oklch(24.2% 0.070 317.7);
Tailwind
colors: {
  custom: {
    50: '#67526c',
    500: '#2d1335',
    950: '#000000',
  },
}
SCSS
$custom: #2d1335;
$custom-light: #67526c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1335",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 285.882,
    "s": 47.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24241,
    "c": 0.06977,
    "h": 317.7
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#2D1335
secondary
#446D37
accent
#D75170
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D1335

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

Preview Lab → · Contrast checker → · Palette generator →

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