#2F2437#2F2437

#2F2437 is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.2% C 0.037 H 310.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#2F2437
RGBrgb(47, 36, 55)
HSLhsl(275, 21%, 18%)
HSVhsv(275, 35%, 22%)
CMYKcmyk(14.5%, 34.5%, 0%, 78.4%)
CIE-LABlab(16.22, 9.69, -10.36)
CIE-LCHlch(16.22, 14.19, 313.09°)
OKLaboklab(28.15% 0.0242 -0.0284)
OKLCHoklch(28.15% 0.037 310.5)
XYZxyz(2.4926, 2.1420, 3.8958)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2437 #2C3724
analogous
#252437 #2F2437 #372435
triadic
#2F2437 #372F24 #24372F
tetradic
#2F2437 #372524 #2C3724 #243537
square
#2F2437 #372524 #2C3724 #243537
split-complementary
#2F2437 #353724 #243725
monochromatic
#100C12 #100C12 #2F2437 #4F3C5C #6E5481

Accessibility & contrast

On white

14.70
#2F2437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2F2437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2437
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2437#FFFFFF#000000##FFFFFF
##2F24371.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#232836
Tritanopia (blue-blind)
#2E262B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f2437;
/* rgb */ color: rgb(47, 36, 55);
/* oklch */ color: oklch(28.2% 0.037 310.5);
Tailwind
colors: {
  custom: {
    50: '#675e6d',
    500: '#2f2437',
    950: '#000000',
  },
}
SCSS
$custom: #2f2437;
$custom-light: #675e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2437",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 55
  },
  "hsl": {
    "h": 274.737,
    "s": 20.879,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28152,
    "c": 0.03727,
    "h": 310.5
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#2F2437
secondary
#59694E
accent
#BD6A8D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #2F2437

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

Preview Lab → · Contrast checker → · Palette generator →

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