#2D1735#2D1735

#2D1735 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.062 H 316.5°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#2D1735
RGBrgb(45, 23, 53)
HSLhsl(284, 39%, 15%)
HSVhsv(284, 57%, 21%)
CMYKcmyk(15.1%, 56.6%, 0%, 79.2%)
CIE-LABlab(12.14, 17.45, -15.29)
CIE-LCHlch(12.14, 23.20, 318.78°)
OKLaboklab(24.98% 0.0447 -0.0424)
OKLCHoklch(24.98% 0.062 316.5)
XYZxyz(2.0311, 1.4278, 3.5361)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1735 #1F3517
analogous
#1E1735 #2D1735 #35172E
triadic
#2D1735 #352D17 #17352D
tetradic
#2D1735 #351E17 #1F3517 #172E35
square
#2D1735 #351E17 #1F3517 #172E35
split-complementary
#2D1735 #2E3517 #17351E
monochromatic
#120915 #120915 #2D1735 #512A60 #753C8A

Accessibility & contrast

On white

16.33
#2D1735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2D1735 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1735
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1735#FFFFFF#000000##FFFFFF
##2D17351.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111E36
Deuteranopia (green-blind)
#182034
Tritanopia (blue-blind)
#2D1B23
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2d1735;
/* rgb */ color: rgb(45, 23, 53);
/* oklch */ color: oklch(25.0% 0.062 316.5);
Tailwind
colors: {
  custom: {
    50: '#67556c',
    500: '#2d1735',
    950: '#000000',
  },
}
SCSS
$custom: #2d1735;
$custom-light: #67556c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1735",
  "rgb": {
    "r": 45,
    "g": 23,
    "b": 53
  },
  "hsl": {
    "h": 284,
    "s": 39.474,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24981,
    "c": 0.06159,
    "h": 316.5
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#2D1735
secondary
#496B3D
accent
#CF5878
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #2D1735

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

Preview Lab → · Contrast checker → · Palette generator →

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