#2F293A#2F293A

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

Color values

HEX#2F293A
RGBrgb(47, 41, 58)
HSLhsl(261, 17%, 19%)
HSVhsv(261, 29%, 23%)
CMYKcmyk(19%, 29.3%, 0%, 77.3%)
CIE-LABlab(17.90, 6.99, -9.87)
CIE-LCHlch(17.90, 12.09, 305.28°)
OKLaboklab(29.49% 0.016 -0.027)
OKLCHoklch(29.49% 0.031 300.6)
XYZxyz(2.7288, 2.4957, 4.3401)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F293A #343A29
analogous
#292C3A #2F293A #38293A
triadic
#2F293A #3A2F29 #293A2F
tetradic
#2F293A #3A292C #343A29 #293A38
square
#2F293A #3A292C #343A29 #293A38
split-complementary
#2F293A #3A3829 #2C3A29
monochromatic
#0F0D12 #121016 #2F293A #4C425E #695C82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F293A#FFFFFF#000000##FFFFFF
##2F293A1.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)
#262C3B
Deuteranopia (green-blind)
#272C3A
Tritanopia (blue-blind)
#2D2B2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f293a;
/* rgb */ color: rgb(47, 41, 58);
/* oklch */ color: oklch(29.5% 0.031 300.6);
Tailwind
colors: {
  custom: {
    50: '#676270',
    500: '#2f293a',
    950: '#000000',
  },
}
SCSS
$custom: #2f293a;
$custom-light: #676270;
$custom-dark: #000000;
JSON
{
  "hex": "#2f293a",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 58
  },
  "hsl": {
    "h": 261.176,
    "s": 17.172,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29492,
    "c": 0.03141,
    "h": 300.6
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#2F293A
secondary
#636B54
accent
#BA6E9F
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2F293A

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

Preview Lab → · Contrast checker → · Palette generator →

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