#2D2133#2D2133

#2D2133 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.0% C 0.037 H 314.1°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#2D2133
RGBrgb(45, 33, 51)
HSLhsl(280, 21%, 16%)
HSVhsv(280, 35%, 20%)
CMYKcmyk(11.8%, 35.3%, 0%, 80%)
CIE-LABlab(14.87, 9.94, -9.62)
CIE-LCHlch(14.87, 13.83, 315.94°)
OKLaboklab(27% 0.0255 -0.0263)
OKLCHoklch(27% 0.037 314.1)
XYZxyz(2.2235, 1.8847, 3.3780)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2133 #273321
analogous
#242133 #2D2133 #332130
triadic
#2D2133 #332D21 #21332D
tetradic
#2D2133 #332421 #273321 #213033
square
#2D2133 #332421 #273321 #213033
split-complementary
#2D2133 #303321 #213324
monochromatic
#100C13 #100C13 #2D2133 #4E3958 #6F517D

Accessibility & contrast

On white

15.25
#2D2133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2133
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2133#FFFFFF#000000##FFFFFF
##2D21331.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2534
Deuteranopia (green-blind)
#212632
Tritanopia (blue-blind)
#2D2327
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2d2133;
/* rgb */ color: rgb(45, 33, 51);
/* oklch */ color: oklch(27.0% 0.037 314.1);
Tailwind
colors: {
  custom: {
    50: '#665c6a',
    500: '#2d2133',
    950: '#000000',
  },
}
SCSS
$custom: #2d2133;
$custom-light: #665c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2133",
  "rgb": {
    "r": 45,
    "g": 33,
    "b": 51
  },
  "hsl": {
    "h": 280,
    "s": 21.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27003,
    "c": 0.03663,
    "h": 314.1
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#2D2133
secondary
#54654B
accent
#BE6A86
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #2D2133

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

Preview Lab → · Contrast checker → · Palette generator →

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