#2F293B#2F293B

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

Color values

HEX#2F293B
RGBrgb(47, 41, 59)
HSLhsl(260, 18%, 20%)
HSVhsv(260, 31%, 23%)
CMYKcmyk(20.3%, 30.5%, 0%, 76.9%)
CIE-LABlab(17.95, 7.26, -10.49)
CIE-LCHlch(17.95, 12.76, 304.69°)
OKLaboklab(29.54% 0.0164 -0.0288)
OKLCHoklch(29.54% 0.033 299.6)
XYZxyz(2.7545, 2.5060, 4.4754)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F293B #353B29
analogous
#292C3B #2F293B #38293B
triadic
#2F293B #3B2F29 #293B2F
tetradic
#2F293B #3B292C #353B29 #293B38
square
#2F293B #3B292C #353B29 #293B38
split-complementary
#2F293B #3B3829 #2C3B29
monochromatic
#0E0D12 #121017 #2F293B #4C425F #695B83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F293B#FFFFFF#000000##FFFFFF
##2F293B1.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)
#252C3C
Deuteranopia (green-blind)
#262C3A
Tritanopia (blue-blind)
#2D2C2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f293b;
/* rgb */ color: rgb(47, 41, 59);
/* oklch */ color: oklch(29.5% 0.033 299.6);
Tailwind
colors: {
  custom: {
    50: '#676271',
    500: '#2f293b',
    950: '#000000',
  },
}
SCSS
$custom: #2f293b;
$custom-light: #676271;
$custom-dark: #000000;
JSON
{
  "hex": "#2f293b",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 260,
    "s": 18,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29543,
    "c": 0.03311,
    "h": 299.6
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#2F293B
secondary
#646C54
accent
#BB6DA1
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2F293B

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

Preview Lab → · Contrast checker → · Palette generator →

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