#2F1333#2F1333

#2F1333 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.069 H 322.5°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2F1333
RGBrgb(47, 19, 51)
HSLhsl(293, 46%, 14%)
HSVhsv(293, 63%, 20%)
CMYKcmyk(7.8%, 62.7%, 0%, 80%)
CIE-LABlab(11.34, 20.25, -15.08)
CIE-LCHlch(11.34, 25.25, 323.33°)
OKLaboklab(24.42% 0.0544 -0.0417)
OKLCHoklch(24.42% 0.069 322.5)
XYZxyz(2.0026, 1.3092, 3.2785)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1333 #173313
analogous
#1F1333 #2F1333 #331327
triadic
#2F1333 #332F13 #13332F
tetradic
#2F1333 #331F13 #173313 #132733
square
#2F1333 #331F13 #173313 #132733
split-complementary
#2F1333 #273313 #13331F
monochromatic
#150816 #150816 #2F1333 #582460 #81348C

Accessibility & contrast

On white

16.64
#2F1333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F1333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1333
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1333#FFFFFF#000000##FFFFFF
##2F13331.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1C34
Deuteranopia (green-blind)
#171F32
Tritanopia (blue-blind)
#301720
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f1333;
/* rgb */ color: rgb(47, 19, 51);
/* oklch */ color: oklch(24.4% 0.069 322.5);
Tailwind
colors: {
  custom: {
    50: '#69526b',
    500: '#2f1333',
    950: '#000000',
  },
}
SCSS
$custom: #2f1333;
$custom-light: #69526b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1333",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 292.5,
    "s": 45.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24415,
    "c": 0.06852,
    "h": 322.5
  },
  "luminance": 0.01309
}

Semantic roles & 50–950 ramp

primary
#2F1333
secondary
#3D6B37
accent
#D55263
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2F1333

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

Preview Lab → · Contrast checker → · Palette generator →

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