#2D293A#2D293A

#2D293A is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.3% C 0.031 H 295.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#2D293A
RGBrgb(45, 41, 58)
HSLhsl(254, 17%, 19%)
HSVhsv(254, 29%, 23%)
CMYKcmyk(22.4%, 29.3%, 0%, 77.3%)
CIE-LABlab(17.69, 6.19, -10.22)
CIE-LCHlch(17.69, 11.95, 301.23°)
OKLaboklab(29.28% 0.0132 -0.028)
OKLCHoklch(29.28% 0.031 295.2)
XYZxyz(2.6387, 2.4492, 4.3359)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D293A #363A29
analogous
#292E3A #2D293A #36293A
triadic
#2D293A #3A2D29 #293A2D
tetradic
#2D293A #3A292E #363A29 #293A36
square
#2D293A #3A292E #363A29 #293A36
split-complementary
#2D293A #3A3629 #2E3A29
monochromatic
#0E0D12 #111016 #2D293A #49425E #655C82

Accessibility & contrast

On white

14.10
#2D293A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D293A
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D293A#FFFFFF#000000##FFFFFF
##2D293A1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3B
Deuteranopia (green-blind)
#262B3A
Tritanopia (blue-blind)
#2B2C2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d293a;
/* rgb */ color: rgb(45, 41, 58);
/* oklch */ color: oklch(29.3% 0.031 295.2);
Tailwind
colors: {
  custom: {
    50: '#666270',
    500: '#2d293a',
    950: '#000000',
  },
}
SCSS
$custom: #2d293a;
$custom-light: #666270;
$custom-dark: #000000;
JSON
{
  "hex": "#2d293a",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 58
  },
  "hsl": {
    "h": 254.118,
    "s": 17.172,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29278,
    "c": 0.03097,
    "h": 295.2
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#2D293A
secondary
#656B54
accent
#BA6EA8
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2D293A

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

Preview Lab → · Contrast checker → · Palette generator →

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