#2D293E#2D293E

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

Color values

HEX#2D293E
RGBrgb(45, 41, 62)
HSLhsl(251, 20%, 20%)
HSVhsv(251, 34%, 24%)
CMYKcmyk(27.4%, 33.9%, 0%, 75.7%)
CIE-LABlab(17.88, 7.36, -12.69)
CIE-LCHlch(17.88, 14.67, 300.11°)
OKLaboklab(29.49% 0.0146 -0.035)
OKLCHoklch(29.49% 0.038 292.7)
XYZxyz(2.7444, 2.4915, 4.8928)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D293E #3A3E29
analogous
#292F3E #2D293E #37293E
triadic
#2D293E #3E2D29 #293E2D
tetradic
#2D293E #3E292F #3A3E29 #293E37
square
#2D293E #3E292F #3A3E29 #293E37
split-complementary
#2D293E #3E3729 #2F3E29
monochromatic
#0D0C12 #121119 #2D293E #484163 #625A88

Accessibility & contrast

On white

14.01
#2D293E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D293E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D293E#FFFFFF#000000##FFFFFF
##2D293E1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3F
Deuteranopia (green-blind)
#242B3D
Tritanopia (blue-blind)
#292C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2d293e;
/* rgb */ color: rgb(45, 41, 62);
/* oklch */ color: oklch(29.5% 0.038 292.7);
Tailwind
colors: {
  custom: {
    50: '#666273',
    500: '#2d293e',
    950: '#000000',
  },
}
SCSS
$custom: #2d293e;
$custom-light: #666273;
$custom-dark: #000000;
JSON
{
  "hex": "#2d293e",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 62
  },
  "hsl": {
    "h": 251.429,
    "s": 20.388,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2949,
    "c": 0.03798,
    "h": 292.7
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#2D293E
secondary
#6A6F53
accent
#BD6BAD
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060508
muted
#7A797B

Preview Lab

Preview with #2D293E

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

Preview Lab → · Contrast checker → · Palette generator →

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