#2F293C#2F293C

#2F293C is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.6% C 0.035 H 298.8°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#2F293C
RGBrgb(47, 41, 60)
HSLhsl(259, 19%, 20%)
HSVhsv(259, 32%, 24%)
CMYKcmyk(21.7%, 31.7%, 0%, 76.5%)
CIE-LABlab(17.99, 7.55, -11.12)
CIE-LCHlch(17.99, 13.44, 304.17°)
OKLaboklab(29.6% 0.0168 -0.0305)
OKLCHoklch(29.6% 0.035 298.8)
XYZxyz(2.7807, 2.5164, 4.6133)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F293C #363C29
analogous
#292D3C #2F293C #39293C
triadic
#2F293C #3C2F29 #293C2F
tetradic
#2F293C #3C292D #363C29 #293C39
square
#2F293C #3C292D #363C29 #293C39
split-complementary
#2F293C #3C3929 #2D3C29
monochromatic
#0E0C12 #131018 #2F293C #4B4260 #685B85

Accessibility & contrast

On white

13.97
#2F293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F293C
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F293C#FFFFFF#000000##FFFFFF
##2F293C1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252C3D
Deuteranopia (green-blind)
#262C3B
Tritanopia (blue-blind)
#2D2C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f293c;
/* rgb */ color: rgb(47, 41, 60);
/* oklch */ color: oklch(29.6% 0.035 298.8);
Tailwind
colors: {
  custom: {
    50: '#676271',
    500: '#2f293c',
    950: '#000000',
  },
}
SCSS
$custom: #2f293c;
$custom-light: #676271;
$custom-dark: #000000;
JSON
{
  "hex": "#2f293c",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 258.947,
    "s": 18.812,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29595,
    "c": 0.03482,
    "h": 298.8
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#2F293C
secondary
#656D54
accent
#BB6CA2
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #2F293C

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

Preview Lab → · Contrast checker → · Palette generator →

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