#2D293F#2D293F

#2D293F is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.5% C 0.040 H 292.1°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#2D293F
RGBrgb(45, 41, 63)
HSLhsl(251, 21%, 20%)
HSVhsv(251, 35%, 25%)
CMYKcmyk(28.6%, 34.9%, 0%, 75.3%)
CIE-LABlab(17.93, 7.66, -13.30)
CIE-LCHlch(17.93, 15.35, 299.92°)
OKLaboklab(29.55% 0.015 -0.0368)
OKLCHoklch(29.55% 0.04 292.1)
XYZxyz(2.7721, 2.5026, 5.0387)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D293F #3B3F29
analogous
#29303F #2D293F #38293F
triadic
#2D293F #3F2D29 #293F2D
tetradic
#2D293F #3F2930 #3B3F29 #293F38
square
#2D293F #3F2930 #3B3F29 #293F38
split-complementary
#2D293F #3F3829 #303F29
monochromatic
#0D0C13 #13111A #2D293F #474164 #625989

Accessibility & contrast

On white

13.99
#2D293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2D293F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D293F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D293F#FFFFFF#000000##FFFFFF
##2D293F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#242B3E
Tritanopia (blue-blind)
#292D31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2d293f;
/* rgb */ color: rgb(45, 41, 63);
/* oklch */ color: oklch(29.5% 0.040 292.1);
Tailwind
colors: {
  custom: {
    50: '#666274',
    500: '#2d293f',
    950: '#000000',
  },
}
SCSS
$custom: #2d293f;
$custom-light: #666274;
$custom-dark: #000000;
JSON
{
  "hex": "#2d293f",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 250.909,
    "s": 21.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29545,
    "c": 0.03973,
    "h": 292.1
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#2D293F
secondary
#6B7053
accent
#BE6AAF
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #2D293F

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

Preview Lab → · Contrast checker → · Palette generator →

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