#2D2A35#2D2A35

#2D2A35 is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.3% C 0.020 H 297.6°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#2D2A35
RGBrgb(45, 42, 53)
HSLhsl(256, 12%, 19%)
HSVhsv(256, 21%, 21%)
CMYKcmyk(15.1%, 20.8%, 0%, 79.2%)
CIE-LABlab(17.79, 4.10, -6.59)
CIE-LCHlch(17.79, 7.76, 301.92°)
OKLaboklab(29.28% 0.0094 -0.0179)
OKLCHoklch(29.28% 0.02 297.6)
XYZxyz(2.5526, 2.4709, 3.7099)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A35 #32352A
analogous
#2A2C35 #2D2A35 #322A35
triadic
#2D2A35 #352D2A #2A352D
tetradic
#2D2A35 #352A2C #32352A #2A3532
square
#2D2A35 #352A2C #32352A #2A3532
split-complementary
#2D2A35 #35322A #2C352A
monochromatic
#0E0E11 #100F13 #2D2A35 #4A4557 #676079

Accessibility & contrast

On white

14.05
#2D2A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2D2A35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A35
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A35#FFFFFF#000000##FFFFFF
##2D2A351.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282C35
Deuteranopia (green-blind)
#282B35
Tritanopia (blue-blind)
#2C2C2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2d2a35;
/* rgb */ color: rgb(45, 42, 53);
/* oklch */ color: oklch(29.3% 0.020 297.6);
Tailwind
colors: {
  custom: {
    50: '#66636c',
    500: '#2d2a35',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a35;
$custom-light: #66636c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a35",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 53
  },
  "hsl": {
    "h": 256.364,
    "s": 11.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29281,
    "c": 0.02016,
    "h": 297.6
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#2D2A35
secondary
#616556
accent
#B473A3
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#050506
muted
#7A797A

Preview Lab

Preview with #2D2A35

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

Preview Lab → · Contrast checker → · Palette generator →

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