#2F273D#2F273D

#2F273D is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.2% C 0.041 H 300.6°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#2F273D
RGBrgb(47, 39, 61)
HSLhsl(262, 22%, 20%)
HSVhsv(262, 36%, 24%)
CMYKcmyk(23%, 36.1%, 0%, 76.1%)
CIE-LABlab(17.42, 9.24, -12.69)
CIE-LCHlch(17.42, 15.69, 306.07°)
OKLaboklab(29.18% 0.0207 -0.035)
OKLCHoklch(29.18% 0.041 300.6)
XYZxyz(2.7399, 2.3923, 4.7314)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F273D #353D27
analogous
#272A3D #2F273D #3A273D
triadic
#2F273D #3D2F27 #273D2F
tetradic
#2F273D #3D272A #353D27 #273D3A
square
#2F273D #3D272A #353D27 #273D3A
split-complementary
#2F273D #3D3A27 #2A3D27
monochromatic
#0E0C13 #120F18 #2F273D #4C3F62 #695788

Accessibility & contrast

On white

14.20
#2F273D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2F273D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F273D
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F273D#FFFFFF#000000##FFFFFF
##2F273D1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3E
Deuteranopia (green-blind)
#242B3C
Tritanopia (blue-blind)
#2D2A2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f273d;
/* rgb */ color: rgb(47, 39, 61);
/* oklch */ color: oklch(29.2% 0.041 300.6);
Tailwind
colors: {
  custom: {
    50: '#686172',
    500: '#2f273d',
    950: '#000000',
  },
}
SCSS
$custom: #2f273d;
$custom-light: #686172;
$custom-dark: #000000;
JSON
{
  "hex": "#2f273d",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 61
  },
  "hsl": {
    "h": 261.818,
    "s": 22,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29175,
    "c": 0.04065,
    "h": 300.6
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#2F273D
secondary
#646F51
accent
#BF69A0
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060508
muted
#7A797B

Preview Lab

Preview with #2F273D

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

Preview Lab → · Contrast checker → · Palette generator →

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