#2F293E#2F293E

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

Color values

HEX#2F293E
RGBrgb(47, 41, 62)
HSLhsl(257, 20%, 20%)
HSVhsv(257, 34%, 24%)
CMYKcmyk(24.2%, 33.9%, 0%, 75.7%)
CIE-LABlab(18.09, 8.12, -12.35)
CIE-LCHlch(18.09, 14.78, 303.31°)
OKLaboklab(29.7% 0.0175 -0.034)
OKLCHoklch(29.7% 0.038 297.1)
XYZxyz(2.8345, 2.5380, 4.8970)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F293E #383E29
analogous
#292D3E #2F293E #39293E
triadic
#2F293E #3E2F29 #293E2F
tetradic
#2F293E #3E292D #383E29 #293E39
square
#2F293E #3E292D #383E29 #293E39
split-complementary
#2F293E #3E3929 #2D3E29
monochromatic
#0E0C12 #131119 #2F293E #4B4163 #675A88

Accessibility & contrast

On white

13.93
#2F293E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2F293E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F293E
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F293E#FFFFFF#000000##FFFFFF
##2F293E1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3F
Deuteranopia (green-blind)
#252C3D
Tritanopia (blue-blind)
#2C2C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f293e;
/* rgb */ color: rgb(47, 41, 62);
/* oklch */ color: oklch(29.7% 0.038 297.1);
Tailwind
colors: {
  custom: {
    50: '#686273',
    500: '#2f293e',
    950: '#000000',
  },
}
SCSS
$custom: #2f293e;
$custom-light: #686273;
$custom-dark: #000000;
JSON
{
  "hex": "#2f293e",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 62
  },
  "hsl": {
    "h": 257.143,
    "s": 20.388,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29702,
    "c": 0.03825,
    "h": 297.1
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#2F293E
secondary
#676F53
accent
#BD6BA6
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060508
muted
#7A797B

Preview Lab

Preview with #2F293E

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

Preview Lab → · Contrast checker → · Palette generator →

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