#2D2137#2D2137

#2D2137 is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.2% C 0.043 H 308.7°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#2D2137
RGBrgb(45, 33, 55)
HSLhsl(273, 25%, 17%)
HSVhsv(273, 40%, 22%)
CMYKcmyk(18.2%, 40%, 0%, 78.4%)
CIE-LABlab(15.07, 11.02, -12.15)
CIE-LCHlch(15.07, 16.40, 312.23°)
OKLaboklab(27.22% 0.0268 -0.0335)
OKLCHoklch(27.22% 0.043 308.7)
XYZxyz(2.3155, 1.9215, 3.8626)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2137 #2B3721
analogous
#222137 #2D2137 #372136
triadic
#2D2137 #372D21 #21372D
tetradic
#2D2137 #372221 #2B3721 #213637
square
#2D2137 #372221 #2B3721 #213637
split-complementary
#2D2137 #363721 #213722
monochromatic
#100B13 #100B13 #2D2137 #4C385D #6C4F84

Accessibility & contrast

On white

15.17
#2D2137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2D2137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2137
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2137#FFFFFF#000000##FFFFFF
##2D21371.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2538
Deuteranopia (green-blind)
#1F2636
Tritanopia (blue-blind)
#2C2429
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2d2137;
/* rgb */ color: rgb(45, 33, 55);
/* oklch */ color: oklch(27.2% 0.043 308.7);
Tailwind
colors: {
  custom: {
    50: '#665c6e',
    500: '#2d2137',
    950: '#000000',
  },
}
SCSS
$custom: #2d2137;
$custom-light: #665c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2137",
  "rgb": {
    "r": 45,
    "g": 33,
    "b": 55
  },
  "hsl": {
    "h": 272.727,
    "s": 25,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27221,
    "c": 0.04289,
    "h": 308.7
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#2D2137
secondary
#586A4A
accent
#C16690
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #2D2137

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

Preview Lab → · Contrast checker → · Palette generator →

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