#2F293D#2F293D

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

Color values

HEX#2F293D
RGBrgb(47, 41, 61)
HSLhsl(258, 20%, 20%)
HSVhsv(258, 33%, 24%)
CMYKcmyk(23%, 32.8%, 0%, 76.1%)
CIE-LABlab(18.04, 7.83, -11.73)
CIE-LCHlch(18.04, 14.11, 303.71°)
OKLaboklab(29.65% 0.0171 -0.0323)
OKLCHoklch(29.65% 0.037 297.9)
XYZxyz(2.8073, 2.5271, 4.7539)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F293D #373D29
analogous
#292D3D #2F293D #39293D
triadic
#2F293D #3D2F29 #293D2F
tetradic
#2F293D #3D292D #373D29 #293D39
square
#2F293D #3D292D #373D29 #293D39
split-complementary
#2F293D #3D3929 #2D3D29
monochromatic
#0E0C12 #131018 #2F293D #4B4262 #675A86

Accessibility & contrast

On white

13.95
#2F293D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F293D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F293D#FFFFFF#000000##FFFFFF
##2F293D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252C3E
Deuteranopia (green-blind)
#252C3C
Tritanopia (blue-blind)
#2C2C30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f293d;
/* rgb */ color: rgb(47, 41, 61);
/* oklch */ color: oklch(29.6% 0.037 297.9);
Tailwind
colors: {
  custom: {
    50: '#686272',
    500: '#2f293d',
    950: '#000000',
  },
}
SCSS
$custom: #2f293d;
$custom-light: #686272;
$custom-dark: #000000;
JSON
{
  "hex": "#2f293d",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 61
  },
  "hsl": {
    "h": 258,
    "s": 19.608,
    "l": 20
  },
  "oklch": {
    "l": 0.29648,
    "c": 0.03654,
    "h": 297.9
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#2F293D
secondary
#666E54
accent
#BC6CA4
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060508
muted
#7A797B

Preview Lab

Preview with #2F293D

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

Preview Lab → · Contrast checker → · Palette generator →

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