#2D2736#2D2736

#2D2736 is a dark, muted violet. Relative luminance 0.023; OKLCH L 28.6% C 0.028 H 302.9°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#2D2736
RGBrgb(45, 39, 54)
HSLhsl(264, 16%, 18%)
HSVhsv(264, 28%, 21%)
CMYKcmyk(16.7%, 27.8%, 0%, 78.8%)
CIE-LABlab(16.87, 6.49, -8.68)
CIE-LCHlch(16.87, 10.83, 306.78°)
OKLaboklab(28.59% 0.0153 -0.0237)
OKLCHoklch(28.59% 0.028 302.9)
XYZxyz(2.4734, 2.2753, 3.7982)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2736 #303627
analogous
#272836 #2D2736 #342736
triadic
#2D2736 #362D27 #27362D
tetradic
#2D2736 #362728 #303627 #273634
square
#2D2736 #362728 #303627 #273634
split-complementary
#2D2736 #363427 #283627
monochromatic
#0F0D12 #0F0D12 #2D2736 #4B415A #685A7D

Accessibility & contrast

On white

14.43
#2D2736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2D2736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2736
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2736#FFFFFF#000000##FFFFFF
##2D27361.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242937
Deuteranopia (green-blind)
#252A36
Tritanopia (blue-blind)
#2C292C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d2736;
/* rgb */ color: rgb(45, 39, 54);
/* oklch */ color: oklch(28.6% 0.028 302.9);
Tailwind
colors: {
  custom: {
    50: '#66616d',
    500: '#2d2736',
    950: '#000000',
  },
}
SCSS
$custom: #2d2736;
$custom-light: #66616d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2736",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 54
  },
  "hsl": {
    "h": 264,
    "s": 16.129,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28586,
    "c": 0.0282,
    "h": 302.9
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#2D2736
secondary
#5E6752
accent
#B96F9B
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050507
muted
#7A797A

Preview Lab

Preview with #2D2736

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

Preview Lab → · Contrast checker → · Palette generator →

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