#2F192E#2F192E

#2F192E is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.3% C 0.050 H 328.5°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#2F192E
RGBrgb(47, 25, 46)
HSLhsl(303, 31%, 14%)
HSVhsv(303, 47%, 18%)
CMYKcmyk(0%, 46.8%, 2.1%, 81.6%)
CIE-LABlab(12.59, 15.11, -9.51)
CIE-LCHlch(12.59, 17.86, 327.81°)
OKLaboklab(25.25% 0.0422 -0.0258)
OKLCHoklch(25.25% 0.05 328.5)
XYZxyz(2.0130, 1.4969, 2.7671)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F192E #192F1A
analogous
#25192F #2F192E #2F1923
triadic
#2F192E #2E2F19 #192E2F
tetradic
#2F192E #2F2519 #192F1A #19232F
square
#2F192E #2F2519 #192F1A #19232F
split-complementary
#2F192E #232F19 #192F25
monochromatic
#140B14 #140B14 #2F192E #572E55 #7F447C

Accessibility & contrast

On white

16.16
#2F192E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2F192E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F192E
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F192E#FFFFFF#000000##FFFFFF
##2F192E1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2F
Deuteranopia (green-blind)
#1D222D
Tritanopia (blue-blind)
#301B21
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2f192e;
/* rgb */ color: rgb(47, 25, 46);
/* oklch */ color: oklch(25.3% 0.050 328.5);
Tailwind
colors: {
  custom: {
    50: '#685666',
    500: '#2f192e',
    950: '#000000',
  },
}
SCSS
$custom: #2f192e;
$custom-light: #685666;
$custom-dark: #000000;
JSON
{
  "hex": "#2f192e",
  "rgb": {
    "r": 47,
    "g": 25,
    "b": 46
  },
  "hsl": {
    "h": 302.727,
    "s": 30.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25254,
    "c": 0.04951,
    "h": 328.5
  },
  "luminance": 0.01497
}

Semantic roles & 50–950 ramp

primary
#2F192E
secondary
#406342
accent
#C76661
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2F192E

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

Preview Lab → · Contrast checker → · Palette generator →

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