#2D293B#2D293B

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

Color values

HEX#2D293B
RGBrgb(45, 41, 59)
HSLhsl(253, 18%, 20%)
HSVhsv(253, 31%, 23%)
CMYKcmyk(23.7%, 30.5%, 0%, 76.9%)
CIE-LABlab(17.73, 6.48, -10.84)
CIE-LCHlch(17.73, 12.63, 300.88°)
OKLaboklab(29.33% 0.0136 -0.0298)
OKLCHoklch(29.33% 0.033 294.5)
XYZxyz(2.6644, 2.4595, 4.4712)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D293B #373B29
analogous
#292E3B #2D293B #36293B
triadic
#2D293B #3B2D29 #293B2D
tetradic
#2D293B #3B292E #373B29 #293B36
square
#2D293B #3B292E #373B29 #293B36
split-complementary
#2D293B #3B3629 #2E3B29
monochromatic
#0E0D12 #111017 #2D293B #49425F #645B83

Accessibility & contrast

On white

14.08
#2D293B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D293B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D293B#FFFFFF#000000##FFFFFF
##2D293B1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252C3C
Deuteranopia (green-blind)
#252B3A
Tritanopia (blue-blind)
#2A2C2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d293b;
/* rgb */ color: rgb(45, 41, 59);
/* oklch */ color: oklch(29.3% 0.033 294.5);
Tailwind
colors: {
  custom: {
    50: '#666271',
    500: '#2d293b',
    950: '#000000',
  },
}
SCSS
$custom: #2d293b;
$custom-light: #666271;
$custom-dark: #000000;
JSON
{
  "hex": "#2d293b",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 253.333,
    "s": 18,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2933,
    "c": 0.03273,
    "h": 294.5
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#2D293B
secondary
#676C54
accent
#BB6DA9
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2D293B

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

Preview Lab → · Contrast checker → · Palette generator →

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