#2D293C#2D293C

#2D293C is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.4% C 0.034 H 293.8°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#2D293C
RGBrgb(45, 41, 60)
HSLhsl(253, 19%, 20%)
HSVhsv(253, 32%, 24%)
CMYKcmyk(25%, 31.7%, 0%, 76.5%)
CIE-LABlab(17.78, 6.77, -11.46)
CIE-LCHlch(17.78, 13.31, 300.57°)
OKLaboklab(29.38% 0.0139 -0.0315)
OKLCHoklch(29.38% 0.034 293.8)
XYZxyz(2.6905, 2.4700, 4.6091)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D293C #383C29
analogous
#292F3C #2D293C #37293C
triadic
#2D293C #3C2D29 #293C2D
tetradic
#2D293C #3C292F #383C29 #293C37
square
#2D293C #3C292F #383C29 #293C37
split-complementary
#2D293C #3C3729 #2F3C29
monochromatic
#0E0C12 #121018 #2D293C #484260 #645B85

Accessibility & contrast

On white

14.06
#2D293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D293C
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D293C#FFFFFF#000000##FFFFFF
##2D293C1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252C3D
Deuteranopia (green-blind)
#252B3B
Tritanopia (blue-blind)
#2A2C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2d293c;
/* rgb */ color: rgb(45, 41, 60);
/* oklch */ color: oklch(29.4% 0.034 293.8);
Tailwind
colors: {
  custom: {
    50: '#666271',
    500: '#2d293c',
    950: '#000000',
  },
}
SCSS
$custom: #2d293c;
$custom-light: #666271;
$custom-dark: #000000;
JSON
{
  "hex": "#2d293c",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 252.632,
    "s": 18.812,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29382,
    "c": 0.03448,
    "h": 293.8
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#2D293C
secondary
#686D54
accent
#BB6CAB
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2D293C

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

Preview Lab → · Contrast checker → · Palette generator →

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